Class | Ferret::Search::Spans::SpanPrefixQuery |
In: |
ext/r_search.c
|
Parent: | Ferret::Search::Query |
A SpanPrefixQuery is the Spans version of PrefixQuery, the only difference being that it returns the start and end offset of all of its matches for use by enclosing SpanQueries.
Create a new SpanPrefixQuery which matches all documents with the prefix prefix in the field field.