You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Nikolay Khitrin (Jira)" <ji...@apache.org> on 2020/05/21 15:34:00 UTC
[jira] [Created] (LUCENE-9377) Unknown query type SynonymQuery in
ComplexPhraseQueryParser for boolean clauses
Nikolay Khitrin created LUCENE-9377:
---------------------------------------
Summary: Unknown query type SynonymQuery in ComplexPhraseQueryParser for boolean clauses
Key: LUCENE-9377
URL: https://issues.apache.org/jira/browse/LUCENE-9377
Project: Lucene - Core
Issue Type: Bug
Affects Versions: 8.4
Reporter: Nikolay Khitrin
Attachments: LUCENE-9377.patch
Follow up for LUCENE-7695.
ComplexPhraseQueryParser fails with
{code:java}
Unknown query type:org.apache.lucene.search.SynonymQuery{code}
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org