You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2016/12/12 09:01:14 UTC

[jira] [Resolved] (LUCENE-7591) Let DatasetSplitter approximate no. of class values by no. of terms

     [ https://issues.apache.org/jira/browse/LUCENE-7591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili resolved LUCENE-7591.
-------------------------------------
    Resolution: Fixed

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