[ 
https://issues.apache.org/jira/browse/LUCENE-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Munendra S N updated LUCENE-9401:
---------------------------------
    Attachment: LUCENE-9401.patch

> 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, 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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to