[
https://issues.apache.org/jira/browse/LUCENE-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Hecker updated LUCENE-9401:
----------------------------------
Attachment: LUCENE-9401.patch
Lucene Fields: New,Patch Available (was: New)
Status: Patch Available (was: Patch Available)
Patch added
> ComplexPhraseQuery's toString method always omits field name
> ------------------------------------------------------------
>
> Key: LUCENE-9401
> URL: https://issues.apache.org/jira/browse/LUCENE-9401
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/queryparser
> Affects Versions: 8.5.2
> Reporter: Thomas Hecker
> Priority: Trivial
> Attachments: LUCENE-9401.patch
>
>
> The toString(String field) method in
> org.apache.lucene.queryparser.complexPhrase.ComplexPhraseQueryParser$ComplexPhraseQuery
> should only omit the field name if query's field name is not equal to field
> name that is passed as an argument.
> Instead, the query's field name is never included in the returned String.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]