lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: [jira] Updated: (LUCENE-584) Decouple Filter from BitSet
Date Thu, 07 Sep 2006 16:48:40 GMT
On Thursday 07 September 2006 10:03, eks dev wrote:
...
> 
> on the other note,
> the key for really efficiant matchers will be good SmartMatcherFactory that 
picks the best representation for given density/"sortednes". 
> The cases I've been able to identify so far:
> 
> Very Low density - IntList
> Low density VIntSortedList
> Dense - OpenBitSet/BitSetIterator or such
> Sorted - (imagine case where you have an oportunity to sort your index on 
category field, quite offten I guess as it does not require absolute 
"sortedness", it is enough to sort periodicly without caring for smaller 
updates). There, one simple interval list can do the magic in just a few 
bytes of memory, even in high density cases. 
...
> More ideas on this?

What's the point of using a sorted interval list for a category?
With the patch, a TermScorer is a Matcher, so one could
use a TermScorer to filter a category assuming the category
has an indexed term.
For filtering, it might be worthwhile to introduce a TermMatcher
to avoid the scoring done in TermScorer.

Regards,
Paul Elschot

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message