> Thank you. I tried that but it did
> not work to remove trailing spaces.
> I believe this is why my size facet queries are not
> working. After
> reloading, the XML result entries still have:
> 
> <arr name="size">
> <str>LARGE     </str>
> <str>MEDIUM    </str>
> <str>SMALL     </str>
> </arr>
> 
> I am using this:
> <fieldType name="size" class="solr.TextField">
>     <analyzer>
>     <tokenizer
> class="solr.StandardTokenizerFactory"/>
>     </analyzer>
> </fieldType>
> 
> And here is my size field:
>     <field name="size" type="string"
> indexed="true" stored="true"
> multiValued="true" required="false"/>

The problem is you are using string type (type="string") here. Which is not 
analyzed. It should be :

<field name="size" type="size" indexed="true" stored="true"
multiValued="true" required="false"/>




     

Reply via email to