The methods of the TermVectorsWriter class are listed below. For a complete list of TermVectorsWriter class members, see the TermVectorsWriter Members topic.
AddTerm | Add term to the Field's term vector. Field must already be open of NullPointerException is thrown. Terms should be added in increasing order of terms, one call per unique termNum. ProxPointer is a pointer into the TermPosition file (prx). Freq is the number of times this term appears in this Field, in this document. |
AddTermFreqVector | Add specified vector to the document. Document must be open but no Field should be open or exception is thrown. The same document can have addTermand addVectorscalls mixed, however a given Field must either be populated with addTermor with addVector. * |
AddVectors | Add specified vectors to the document. |
Close | Close all streams. |
CloseDocument | |
CloseField | Finished processing current Field. This should be followed by a call to openField before future calls to addTerm. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
IsDocumentOpen | |
IsFieldOpen | Return true if a Field is currently open. |
OpenDocument | |
OpenField | Start processing a Field. This can be followed by a number of calls to addTerm, and a final call to closeField to indicate the end of processing of this Field. If a Field was previously open, it is closed automatically. |
ToString (inherited from Object) | Returns a String that represents the current Object. |