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

Nicholas Paldino updated LUCENENET-290:
---------------------------------------

    Attachment: MultiPhraseQuery.patch

This addresses the ToString overload on MultiPhraseQuery which incorrectly 
calls MoveNext on the iterator while cycling through the terms in order to 
determine whether or not to add a space between them.

The extraneous call to MoveNext was made and a flag indicating if the last 
delimiter should be removed was added, resulting in the correct string 
representation of the query to be returned.

> TestMultiAnalyzer (TestMultiAnalyzer_Rename) and 
> TestMultiAnalyzerWithSubclassOfQueryParser fail
> ------------------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-290
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-290
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Nicholas Paldino
>            Priority: Minor
>         Attachments: MultiPhraseQuery.patch
>
>
> Patch coming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to