lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/LUCENE-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051386#comment-13051386
] 

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: https://issues.apache.org/jira/browse/LUCENE-2919
>             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: 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


Mime
View raw message