Mailing List Archive

maxMultiTermExpansions parameter of PhraseWildcardQuery class in Lucene 8.4.1 Sandbox
Hi,-

i hope everyone is doing great.

i set this parameter as Integer.MAX_VALUE and it is mostly working only
1 time had Memory issue.

However, by reducing this parameter how will it affect the search time
and quality of search results?

Has anybody done such an experiment?

The explanation for this parameter is as follows:

maxMultiTermExpansions - The maximum number of expansions across all
multi-terms and across all segments.

It counts expansions for each segments individually, that allows
optimizations per segment and unused expansions are credited to next
segments.

This is different from MultiPhraseQuery and SpanMultiTermQueryWrapper
which have an expansion limit per multi-term.

https://lucene.apache.org/core/8_4_1/sandbox/index.html

It would be aweome some toy example here, too.

Best regards

baris


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org