Module: Ferret::Search::Spans

Defined in:
ext/r_search.c

Overview

Summary

The Spans module contains a number of SpanQueries. SpanQueries, unlike regular queries, also return the start and end offsets of all of their matches so they can be used to limit queries to a certain position in the field. They are often used in combination to perform special types of PhraseQuery.