Class Ferret::Index::TermVector::TVOffsets
In: ext/r_index.c
Parent: Object

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.

[Validate]