Expand description
Candidate queries for the three search modes.
FTSparses a Jena/Lucene-style query string over the analyzedtextfield.PREFIXasks “the stored prefix starts with this seed” through a literal-prefix [RegexQuery] overtext_begin. A literal prefix is a contiguous range of the sorted term dictionary, so the FST walk only visits terms under the seed.SUFFIXis the same query over the reversedtext_endfield, with the reversed seed. Without the reversal a suffix would have no automaton prefix and the walk would cover the whole dictionary.
Seeds are truncated to the configured character count. For patterns within that length the candidate set is exact; longer patterns are seeded with the leading (or trailing) characters and the residual FILTER decides.
Functions§
- build_
query - Build the query for
request. - build_
query_ scoped build_queryconjoined with a predicate-set filter on the stored predicate.