lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-1602) Rewrite TrieRange to use MultiTermQuery
Date Tue, 14 Apr 2009 14:29:15 GMT


Uwe Schindler commented on LUCENE-1602:

An additional extension to MultiTermQuery:
The original version of TrieRange had a shortcut in the getDocIdSet call: If the range was
inverse and would return for sure no documents, it returned the DocIdSet.EMPTY_DOCID_SET instance
and did not allocate any OpenBitSet. MultiTermQuery could also do this automatically, if the
FilteredTermEnum is empty from the beginning (simple check before allocating the bitset).
This would be a nice memory-friendly imporvement. I could try to implement this in MultiTermQuery's

> Rewrite TrieRange to use MultiTermQuery
> ---------------------------------------
>                 Key: LUCENE-1602
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/*
>    Affects Versions: 2.9
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 2.9
>         Attachments: LUCENE-1602.patch
> Issue for discussion here:
> This patch is a rewrite of TrieRange using MultiTermQuery like all other core queries.
This should make TrieRange identical in functionality to core range queries.

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

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

View raw message