Hello,

I’m implementing my own query parser plugin and trying to support “phrase 
wildcard query”.
Meaning that have a field that is tokenized with StandardTokenizer (break on 
space etc.) and want to allow searching for:
“foo ba*” (as phrase).
I think that SpanMultiTermQueryWrapper can do this for me, just wonder if I can 
count on it’s default query rewrite method that has no terms limit, that it 
won’t make our production crush in case many terms are collected to a huge 
SpanOrQuery, or to use the
Other method: TopTermsSpanBooleanQueryRewrite that has a terms size limit (if 
yes what limit would you suggest?).

Would appreciate someone who is familiar with this input.

Thank you,


Reply via email to