Public Member Functions | |
| synchronized void | delete () |
| boolean | open (String indexName) throws java.lang.Exception |
| int | term (String word) throws java.lang.Exception |
| String | term (int termID) throws java.lang.Exception |
| int | document (String docIDStr) throws java.lang.Exception |
| String | document (int docID) throws java.lang.Exception |
| DocumentManager | docManager (int docID) throws java.lang.Exception |
| int | docCount () throws java.lang.Exception |
| int | termCountUnique () throws java.lang.Exception |
| int | termCount (int termID) throws java.lang.Exception |
| int | termCount () throws java.lang.Exception |
| float | docLengthAvg () throws java.lang.Exception |
| int | docCount (int termID) throws java.lang.Exception |
| int | docLength (int docID) throws java.lang.Exception |
| DocInfoList | docInfoList (int termID) throws java.lang.Exception |
| TermInfoList | termInfoList (int docID) throws java.lang.Exception |
| TermInfoList | termInfoListSeq (int docID) throws java.lang.Exception |
| void | setProps () |
Protected Member Functions | |
| Index (long cPtr, boolean cMemoryOwn) | |
| void | finalize () |
Static Protected Member Functions | |
| long | getCPtr (Index obj) |
Protected Attributes | |
| boolean | swigCMemOwn |
Private Attributes | |
| long | swigCPtr |
|
||||||||||||
|
|
|
|
|
|
|
Total counts of doc with a given term
|
|
|
Total count (i.e., number) of documents in collection
|
|
|
returns a new instance of DocInfoList which represents the doc entries in a term index.
|
|
|
Total counts of terms in a document
|
|
|
Average document length
|
|
|
|
|
|
Convert a valid docID to its spelling
|
|
|
Convert a spelling to docID, returns 0 if out of vocabulary. Valid index starts at 1.
|
|
|
|
|
|
|
|
|
Open previously created Index, return true if opened successfully,
|
|
|
Loads the stemmer/stopword properties for the index. |
|
|
Convert a valid termID to its spelling
|
|
|
Convert a term spelling to a termID, returns 0 if out of vocabulary. Valid index starts at 1.
|
|
|
Total counts of all terms in collection
|
|
|
Total counts of a term in collection
|
|
|
Total count of unique terms in collection, i.e., the term vocabulary size
|
|
|
returns a new instance of TermInfoList which represents the word entries in a document index.
|
|
|
returns TermInfoList is sequential representation (not bag of words) return NULL list when sequence is not available.
|
|
|
|
|
|
|
1.3.4