lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-2919) IndexSplitter that divides by primary key term
Date Fri, 17 Jun 2011 23:02:47 GMT


Uwe Schindler commented on LUCENE-2919:

I would implement this stuff a little bit more flexible:

You could use a standard Filter to do the split, e.g. TermRangeFilter and use its returned
DocIdSet as BitSet (if Filter returns no BitSet, can be checked by instanceof Bits, use OpenBitSetDISI
as wrapper - like CachingWrapperFilter). This makes it more flexible, as this Filter again
has some code duplication with the other IndexSplitter but is again very specific. A simple
tool, let it be an DocumentExtractor, could extract parts of a bigger Index using any filter.

How about that?

> IndexSplitter that divides by primary key term
> ----------------------------------------------
>                 Key: LUCENE-2919
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Jason Rutherglen
>            Priority: Minor
>         Attachments: LUCENE-2919.patch
> Index splitter that divides by primary key term.  The contrib MultiPassIndexSplitter
we have divides by docid, however to guarantee external constraints it's sometimes necessary
to split by a primary key term id.  I think this implementation is a fairly trivial change.

This message is automatically generated by JIRA.
For more information on JIRA, see:


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

View raw message