Uses of Class
ca.cgjennings.algo.TextIndex
-
Packages that use TextIndex Package Description ca.cgjennings.algo -
-
Uses of TextIndex in ca.cgjennings.algo
Methods in ca.cgjennings.algo that return TextIndex Modifier and Type Method Description TextIndexTextIndexer. makeIndex(java.util.Collection<java.lang.String> sourceIDs)Generates aTextIndexin memory.static TextIndexTextIndex. read(java.io.File file)Creates a text index from the specified file.static TextIndexTextIndex. read(java.io.InputStream in)Creates a text index from a stream.static TextIndexTextIndex. read(java.net.URL url)Creates a text index from the file at the specified URL.Methods in ca.cgjennings.algo with parameters of type TextIndex Modifier and Type Method Description java.util.Set<java.lang.String>TextIndex.Query. evaluate(TextIndex ti)Returns the set of document IDs that satisfy the query in the specified text index.TextIndex.ResultTextIndex.And. execute(TextIndex ti)TextIndex.ResultTextIndex.Atom. execute(TextIndex ti)TextIndex.ResultTextIndex.Not. execute(TextIndex ti)TextIndex.ResultTextIndex.Or. execute(TextIndex ti)abstract TextIndex.ResultTextIndex.Query. execute(TextIndex ti)Returns theResultof performing this query against a specific text index.TextIndex.ResultTextIndex.Atom. executeInverse(TextIndex ti)Returns the inverse of the set of documents containing the search term.java.util.Set<java.lang.String>TextIndex.Result. getResultSet(TextIndex ti)Returns the set of document IDs represented by this result.
-