[
https://issues.apache.org/jira/browse/LUCENENET-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780173#action_12780173
]
Nicholas Paldino edited comment on LUCENENET-290 at 11/19/09 6:06 PM:
----------------------------------------------------------------------
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 removed 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.
was (Author: casperone):
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.