[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to