Class SpanBooleanQueryRewriteWithMaxClause


  • public class SpanBooleanQueryRewriteWithMaxClause
    extends SpanMultiTermQueryWrapper.SpanRewriteMethod
    A span rewrite method that extracts the first maxExpansions terms that match the MultiTermQuery in the terms dictionary. The rewrite throws an error if more than maxExpansions terms are found and hardLimit is set.