Tommaso Teofili created LUCENE-7591:
---------------------------------------

             Summary: Let DatasetSplitter approximate no. of class values by 
no. of terms
                 Key: LUCENE-7591
                 URL: https://issues.apache.org/jira/browse/LUCENE-7591
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/classification
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili
             Fix For: master (7.0)


Currently {{DatasetSplitter}} throws an exception if it's not possible to find 
{{SortedDocValues}} or {{SortedSetDocValues}} on the class field as it wouldn't 
be possible to correctly split the indexes in a balanced way.
As a fallback we could instead use the no. of terms per leaf reader as an 
approximate count (upper bound) to the no. of classes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to