Re: index of facet fields are not same as original string

2010-01-31 Thread Solr user
Hi Lance, I created a new fieldtype with solr.KeywordTokenizerFactory class in analyser and it worked for me. Thanks for all your help. Regards, Uma Lance Norskog-2 wrote: After you change the schema.xml file, you have to rebuild the index completely. At that point, g_number fields

index of facet fields are not same as original string

2010-01-28 Thread Solr user
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_numberG-EUPE/str /doc - lst name=facet_counts lst name=facet_queries / - lst name=facet_fields - lst name=g_number int

Re: index of facet fields are not same as original string

2010-01-28 Thread Sergey Pavlikovskiy
Hi, probably, it's because of stemming if you need unstemmed text you can use 'textgen' data type for the field Sergey On Thu, Jan 28, 2010 at 12:25 PM, Solr user uma.ravind...@yahoo.co.inwrote: Hi, I am new to Solr. I found facets fields does not reflect the original string in the

Re: index of facet fields are not same as original string

2010-01-28 Thread Joe Calderon
facets are based off the indexed version of your string nor the stored version, you probably have an analyzer thats removing punctuation, most people index the same field multiple ways for different purposes, matching. storting, faceting etc... index a copy of your field as string type and facet

Re: index of facet fields are not same as original string

2010-01-28 Thread Solr user
Hi Sergey, In schema.xml, i have got by default !-- A general unstemmed text field - good if one does not know the language of the field --^M fieldType name=textgen class=solr.TextField positionIncrementGap=100^M analyzer type=index^M tokenizer

Re: index of facet fields are not same as original string

2010-01-28 Thread Lance Norskog
After you change the schema.xml file, you have to rebuild the index completely. At that point, g_number fields should not be stemmed. You can examine what these text field types do.