The TermVectorMapper type exposes the following members.

Constructors

  NameDescription
Protected methodTermVectorMapper()()()()
Initializes a new instance of the TermVectorMapper class
Protected methodTermVectorMapper(Boolean, Boolean)
Initializes a new instance of the TermVectorMapper class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsIgnoringOffsets
Public methodIsIgnoringPositions
Indicate to Lucene that even if there are positions stored, this mapper is not interested in them and they can be skipped over. Derived classes should set this to true if they want to ignore positions. The default is false, meaning positions will be loaded if they are stored.
Public methodMap
Map the Term Vector information into your own structure
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetDocumentNumber
Passes down the index of the document whose term vector is currently being mapped, once for each top level call to a term vector reader.

Default implementation IGNORES the document number. Override if your implementation needs the document number.

NOTE: Document numbers are internal to Lucene and subject to change depending on indexing operations.

Public methodSetExpectations
Tell the mapper what to expect in regards to field, number of terms, offset and position storage. This method will be called once before retrieving the vector for a field. This method will be called before {@link #Map(String,int,TermVectorOffsetInfo[],int[])}.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also