Class: Ferret::Document::Field::TermVector
- Inherits:
-
Utils::Parameter
- Object
- Utils::Parameter
- Ferret::Document::Field::TermVector
- Defined in:
- lib/ferret/document/field.rb
Constant Summary collapse
- NO =
Do not store term vectors.
TermVector.new("NO")
- YES =
Store the term vectors of each document. A term vector is a list of the document’s terms and their number of occurences in that document.
TermVector.new("YES")
- WITH_POSITIONS =
Store the term vector + token position information
See #YES
TermVector.new("WITH_POSITIONS")
- WITH_OFFSETS =
Store the term vector + Token offset information
See #YES
TermVector.new("WITH_OFFSETS")
- WITH_POSITIONS_OFFSETS =
Store the term vector + Token position and offset information
See #YES See #WITH_POSITIONS See #WITH_OFFSETS
TermVector.new("WITH_POSITIONS_OFFSETS")