You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Niall O'Connor (JIRA)" <ji...@apache.org> on 2010/09/14 23:10:35 UTC

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

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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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