Class: Ferret::Index::TermVector::TVOffsets
- Inherits:
-
Object
- Object
- Ferret::Index::TermVector::TVOffsets
- Defined in:
- ext/r_index.c
Overview
Summary
Holds the start and end byte-offsets of a term in a field. For example, if the field was “the quick brown fox” then the start and end offsets of:
["the", "quick", "brown", "fox"]
Would be:
[(0,3), (4,9), (10,15), (16,19)]
See the Analysis module for more information on setting the offsets.