You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2011/06/18 00:50:47 UTC

[jira] [Commented] (LUCENE-2919) IndexSplitter that divides by primary key term

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

Michael McCandless commented on LUCENE-2919:
--------------------------------------------

Patch looks good Jason!  Sorry for the long delay... I'll commit shortly.

One small thing I fixed: I think the term.compareTo(endTermExcl) > 0 should be a >= 0?

> 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