Am 29.06.2011 12:30, schrieb samuele.mattiuzzo: > <fieldType name="salary_min_text" class="solr.TextField" > > <analyzer type="index"> ...
> this is the "final" version of my schema part, but what i get is this: > > > <doc> > <float name="score">1.0</float> > <str name="salary">Negotiable</str> > <str name="salary_max">Negotiable</str> > <str name="salary_min">Negotiable</str> > </doc> ... The mistake is that you assume that the filter applied to the result. This is not true. Index filters only affect the index (as the name says), not the contents. Therefore, if you have copyFields that are stored, the'll always return the same value as the original field. Try inspecting your index data with luke or the admin console. Then you'll see whether your regex applies. Greetings, Kuli