[
https://issues.apache.org/jira/browse/OAK-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili updated OAK-2750:
---------------------------------
Fix Version/s: 1.2.2
> Indexing for sorting can fail if value is too long
> --------------------------------------------------
>
> Key: OAK-2750
> URL: https://issues.apache.org/jira/browse/OAK-2750
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: solr
> Affects Versions: 1.2
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: 1.3.0, 1.2.2
>
>
> While indexing e.g. large binaries' texts indexing can fail during the
> indexing of the field used for sorting due to an hard limit in size for
> DocValues.
> {noformat}
> Caused by: java.lang.IllegalArgumentException: DocValuesField
> "jcr:data_string_sort" is too large, must be <= 32766
> {noformat}
> This can be easily workarounded by switching from using _docValues=true_ to
> _false_ and from _stored=false_ to _true_ in the schema.xml, however it'd be
> good to avoid such long text in the sort fields as it's very unlikely that
> such fields will be used in practice and therefore limit the sort field to
> index e.g. the first 1024 text chars.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)