ok, great to know -- all this is invaluable.
i'm stashing away "ideas" like this for the future (because..)

i think for now i'll stick with XSL transforming the fields to lowercase
because we already need this small XSLT from our item XML to
XML that solr can index.

-t

Chris Hostetter wrote:
: so for my dwindling number of remaining "string" types, in my XSL
: transform (on the input to index the doc) i'll lowercase them all, too 8-)

I don't beleive that is strictly neccessary, these two field types should
be functionally equivilent...

   <fieldtype name="string"  class="solr.StrField"/>
   <fieldtype name="tstring" class="solr.TextField">
      <analyzer>
        <tokenizer class="solr.KeywordTokenizerFactory"/>
      </analyzer>
   </fieldtypes>

...so i'm pretty sure you could just use...

   <fieldtype name="lowerCaseString" class="solr.TextField">
      <analyzer>
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
   </fieldtypes>


-Hoss

  

--
       --Tracey Jaquith - http://www.archive.org/~tracey --

Reply via email to