Public Member Functions | |
synchronized void | delete () |
QueryEnvironment () | |
void | addServer (String hostname) throws java.lang.Exception |
void | addIndex (String pathname) throws java.lang.Exception |
void | removeServer (String hostname) throws java.lang.Exception |
void | removeIndex (String pathname) throws java.lang.Exception |
void | close () throws java.lang.Exception |
void | setMemory (long memory) throws java.lang.Exception |
void | setScoringRules (String[] rules) throws java.lang.Exception |
void | setStopwords (String[] stopwords) throws java.lang.Exception |
ScoredExtentResult[] | runQuery (String query, int resultsRequested) throws java.lang.Exception |
ScoredExtentResult[] | runQuery (String query, int[] documentSet, int resultsRequested) throws java.lang.Exception |
QueryResults | runQuery (QueryRequest request) throws java.lang.Exception |
QueryAnnotation | runAnnotatedQuery (String query, int resultsRequested) throws java.lang.Exception |
QueryAnnotation | runAnnotatedQuery (String query, int[] documentSet, int resultsRequested) throws java.lang.Exception |
ParsedDocument[] | documents (int[] documentIDs) throws java.lang.Exception |
ParsedDocument[] | documents (ScoredExtentResult[] results) throws java.lang.Exception |
String[] | documentMetadata (int[] documentIDs, String attributeName) throws java.lang.Exception |
String[] | documentMetadata (ScoredExtentResult[] documentIDs, String attributeName) throws java.lang.Exception |
int[] | documentIDsFromMetadata (String attributeName, String[] attributeValue) throws java.lang.Exception |
ParsedDocument[] | documentsFromMetadata (String attributeName, String[] attributeValue) throws java.lang.Exception |
long | termCount () throws java.lang.Exception |
long | termCount (String term) throws java.lang.Exception |
long | termFieldCount (String term, String field) throws java.lang.Exception |
String[] | fieldList () throws java.lang.Exception |
long | documentCount () throws java.lang.Exception |
long | documentCount (String term) throws java.lang.Exception |
DocumentVector[] | documentVectors (int[] documentIDs) throws java.lang.Exception |
double | expressionCount (String expression, String queryType) throws java.lang.Exception |
double | expressionCount (String expression) throws java.lang.Exception |
ScoredExtentResult[] | expressionList (String expression, String queryType) throws java.lang.Exception |
ScoredExtentResult[] | expressionList (String expression) throws java.lang.Exception |
int | documentLength (int documentID) throws java.lang.Exception |
Protected Member Functions | |
QueryEnvironment (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
long | getCPtr (QueryEnvironment obj) |
Protected Attributes | |
boolean | swigCMemOwn |
Private Attributes | |
long | swigCPtr |
|
|
|
|
|
Add a local repository
|
|
Add a remote server
|
|
Close the QueryEnvironment.
|
|
|
|
Return total number of documents in the collection for the given term.
|
|
Return total number of documents in the collection.
|
|
Return a list of document IDs where the document has a metadata key that matches attributeName, with a value matching one of the attributeValues.
|
|
Return all the length of a document.
|
|
Fetch the named metadata attribute for a list of ScoredExtentResults
|
|
Fetch the named metadata attribute for a list of document ids
|
|
Fetch the parsed documents for a given list of ScoredExtentResults
|
|
Fetch the parsed documents for a given list of ScoredExtentResults
|
|
Fetch all documents with a metadata key that matches attributeName, with a value matching one of the attributeValues.
|
|
Fetch a document vector for a list of documents.
|
|
Return the total number of times this expression appears in the collection.
|
|
Return the total number of times this expression appears in the collection.
|
|
Return all the occurrences of this expression in the collection. Note that the returned vector may be quite large for large collections, and therefore has the very real possibility of exhausting the memory of the machine. Use this method with discretion.
|
|
Return all the occurrences of this expression in the collection. Note that the returned vector may be quite large for large collections, and therefore has the very real possibility of exhausting the memory of the machine. Use this method with discretion.
|
|
Return the list of fields.
|
|
|
|
|
|
Remove a local repository
|
|
Remove a remote server
|
|
Run an Indri query language query on a set of documents.
|
|
Run an Indri query language query.
|
|
Run an Indri query request
|
|
Run an Indri query language query on a set of documents.
|
|
Run an Indri query language query.
|
|
Set the amount of memory to use.
|
|
Set the scoring rules
|
|
Set the stopword list for query processing
|
|
Return total number of term occurrences.
|
|
Return total number of terms.
|
|
Return total number of term occurrences within a field.
|
|
|
|
|