lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3205) remove MultiTermQuery get/inc/clear totalNumberOfTerms
Date Sat, 12 Nov 2011 21:07:51 GMT


Uwe Schindler updated LUCENE-3205:

    Attachment: LUCENE-3205.patch

Patch with improved tests and removed stats functions (for trunk).

I will commit this soon and merge backwards (but only deprecate in 3.x).
> remove MultiTermQuery get/inc/clear totalNumberOfTerms
> ------------------------------------------------------
>                 Key: LUCENE-3205
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>             Fix For: 3.5, 4.0
>         Attachments: LUCENE-3205.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message