[ 
https://issues.apache.org/jira/browse/LUCENE-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203956#comment-17203956
 ] 

ASF subversion and git services commented on LUCENE-9401:
---------------------------------------------------------

Commit b9c7f50b6ece0bc2250482a8aa294ff876942ca2 in lucene-solr's branch 
refs/heads/master from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b9c7f50 ]

LUCENE-9401: include field in the complex pharse query's toString


> 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
>            Assignee: Munendra S N
>            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