Hi Steve,
Thanks for the clarification! Now I understand what this function is for.
(I tried "term1-term2" and indeed it's parsed into a phrase query)
I was trying to save typing the quotation marks as most of my use cases are
phrase search. Seems this can't be done for now :)
Best,
Gang
On Mon
Hi Gang,
The javadoc explanation isn’t very clear, but the process is:
1. Split query on whitespace (‘term1 term2’ is split into ‘term1’ and ‘term2’)
2. For each split term: if autoGeneratePhraseQueries=true, and analysis
produces more than one term, for example a synonym ’term1’->’multiple word