Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
8.4
-
None
-
None
-
None
-
New, Patch Available
Description
Follow up for LUCENE-7695.
ComplexPhraseQueryParser fails with
Unknown query type:org.apache.lucene.search.SynonymQuery
exception on queries like name: "(dog cat) something" if dog expands by SynonymFilter.
For now parser converts to BooleanQuery only top-level SynonymQueries, but not the nested ones.
Looks like it can be fixed by simple conversion in BQ clauses handling loop similar to LUCENE-7695.