Module: Ferret::Search::Spans

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.

Child modules and classes

Class Ferret::Search::Spans::SpanFirstQuery
Class Ferret::Search::Spans::SpanMultiTermQuery
Class Ferret::Search::Spans::SpanNearQuery
Class Ferret::Search::Spans::SpanNotQuery
Class Ferret::Search::Spans::SpanOrQuery
Class Ferret::Search::Spans::SpanPrefixQuery
Class Ferret::Search::Spans::SpanTermQuery