You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Munendra S N (Jira)" <ji...@apache.org> on 2020/09/28 14:07:00 UTC

[jira] [Commented] (LUCENE-9401) ComplexPhraseQuery's toString method always omits field name

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

Munendra S N commented on LUCENE-9401:
--------------------------------------

 [^LUCENE-9401.patch] 
Minor formatting and fixes failing test. I will commit this shortly

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