You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2016/10/06 16:54:20 UTC

[jira] [Closed] (SOLR-2120) Facet Field Value truncation

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

Alexandre Rafalovitch closed SOLR-2120.
---------------------------------------
    Resolution: Not A Problem

A general question about the behavior of facets in 1.x. The code has been rewritten multiple times since. If a similar question exists against the latest implementation, a new issue can be opened.

> Facet Field Value truncation
> ----------------------------
>
>                 Key: SOLR-2120
>                 URL: https://issues.apache.org/jira/browse/SOLR-2120
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4.1
>            Reporter: Niall O'Connor
>
> There is a limit on the length of indexed string values of 256 characters, this results in undesirable behavior for facet field values for example: 
> <lst name="facet_fields">
> <lst name="pub_articletitle">
> <int name="1">2302</int>
> <int name="hiv">1403</int>
> <int name="type">1382</int>
> </lst>
> <lst name="tissue-antology">
> <int name="Lymph node,Organ component,Cardinal organ part,Anatomical structure,Material anatomical entity,Physical anatomical entity,Anatomical entity">419</int>
> <int name="Left frontal lobe,Frontal lobe,Lobe of cerebral hemisphere,Segment of cerebral hemisphere,Segment of telencephalon,Segment of forebrain,Segment of brain,Segment of neuraxis,Organ segment,Organ region,Cardinal organ part,Anatomical structure,*Material anatom">236</int>
> <int name="ical entity,Physical anatomical entity,Anatomical entity">236</int>*
> </lst>  
> The last facet in the list is being truncated and spills into a new facet. This also eats up a facet since i usually only return the top 3. 
> Is 256 characters a hard limit in the indexing strategy?



--
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