Hi all,

I'd like to have a string type which is synonym aware at query time.
Is it ok to have something like that:

<fieldType name="sastring" class="solr.StrField">
  <analyzer type="query">
       <tokenizer class="solr.KeywordTokenizerFactory"/>
               <filter class="solr.SynonymFilterFactory"
tokenizerFactory="solr.KeywordTokenizerFactory"
synonyms="my_synonyms.txt" ignoreCase="true"/>
   </analyzer>

</fieldType>


My questions are:

- Will the index time analyzer stay the default for the type solr.StrField .
- Is the KeywordTokenizerFactory the right one to use for the query
time analyzer ?

Cheers!

Jerome.

-- 
Jerome Eteve.

Chat with me live at http://www.eteve.net

jer...@eteve.net

Reply via email to