lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Etévé <>
Subject Synonym aware string field typ
Date Tue, 04 Aug 2009 11:33:28 GMT
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"
synonyms="my_synonyms.txt" ignoreCase="true"/>


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 ?



Jerome Eteve.

Chat with me live at

View raw message