Looks like need to field type as string for that problem field in schema.xml. you may be having as Text or textgen. Let me know if it works.
pradeep --- On Thu, 1/28/10, Uma Maheswari (JIRA) <j...@apache.org> wrote: > From: Uma Maheswari (JIRA) <j...@apache.org> > Subject: [jira] Created: (SOLR-1739) index of facet fields are not same as > original string in record > To: solr-dev@lucene.apache.org > Date: Thursday, January 28, 2010, 1:53 PM > index of facet fields are not same as > original string in record > --------------------------------------------------------------- > > > Key: SOLR-1739 > > URL: https://issues.apache.org/jira/browse/SOLR-1739 > > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Environment: Solr > search engine is deployed in tomcat and running in windows > OS. > Reporter: Uma > Maheswari > > > Hi, > > I am new to Solr. I found facets fields does not reflect > the original string in the record. For example, > > the returned xml is, > > - <doc> > <str name="g_number">G-EUPE</str> > </doc> > - <lst name="facet_counts"> > <lst name="facet_queries" /> > - <lst name="facet_fields"> > - <lst name="g_number"> > <int name="gupe">1</int> > </lst> > </lst> > - <lst name="facet_dates" /> > </lst> > > Here, "G-EUPE" is displayed under facet field as 'gupe' > where it is not capital and missing '-' from the original > string. Is there any way we could fix this to match the > original text in record? Thanks in advance. > > Regards, > uma > > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue > online. > >