You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/06/15 13:12:47 UTC
[jira] [Updated] (LUCENE-3205) remove MultiTermQuery get/inc/clear
totalNumberOfTerms
[ https://issues.apache.org/jira/browse/LUCENE-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3205:
--------------------------------
Attachment: LUCENE-3205.patch
> remove MultiTermQuery get/inc/clear totalNumberOfTerms
> ------------------------------------------------------
>
> Key: LUCENE-3205
> URL: https://issues.apache.org/jira/browse/LUCENE-3205
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: LUCENE-3205.patch
>
>
> This method is not correct if the index has more than one segment.
> Its also not thread safe, and it means calling query.rewrite() modifies
> the original query.
> All of these things add up to confusion, I think we should remove this
> from multitermquery, the only thing that "uses" it is the NRQ tests, which
> conditionalizes all the asserts anyway.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org