lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Paldino (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENENET-290) TestMultiAnalyzer (TestMultiAnalyzer_Rename) and TestMultiAnalyzerWithSubclassOfQueryParser fail
Date Thu, 19 Nov 2009 18:03:39 GMT

     [ 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.


Mime
View raw message