![]() |
Create term vectors writer for the specified segment in specified directory. A new TermVectorsWriter should be created for each segment. The parameter maxFieldsindicates how many total fields are found in this document. Not all of these fields may require termvectors to be stored, so the number of calls to openFieldis less or equal to this number. |
![]() | 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. |
![]() | 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. * |
![]() | Add specified vectors to the document. |
![]() | Close all streams. |
![]() | |
![]() | Finished processing current Field. This should be followed by a call to openField before future calls to addTerm. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | |
![]() | Return true if a Field is currently open. |
![]() | |
![]() | 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. |
![]() | Returns a String that represents the current Object. |