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 TextIndex
TextIndexer. makeIndex(java.util.Collection<java.lang.String> sourceIDs)
Generates aTextIndex
in memory.static TextIndex
TextIndex. read(java.io.File file)
Creates a text index from the specified file.static TextIndex
TextIndex. read(java.io.InputStream in)
Creates a text index from a stream.static TextIndex
TextIndex. 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.Result
TextIndex.And. execute(TextIndex ti)
TextIndex.Result
TextIndex.Atom. execute(TextIndex ti)
TextIndex.Result
TextIndex.Not. execute(TextIndex ti)
TextIndex.Result
TextIndex.Or. execute(TextIndex ti)
abstract TextIndex.Result
TextIndex.Query. execute(TextIndex ti)
Returns theResult
of performing this query against a specific text index.TextIndex.Result
TextIndex.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.
-