lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Lynott <michaellyn...@boisestate.edu>
Subject Sample code?
Date Wed, 02 May 2018 19:48:40 GMT
The sample code for SynonymGraphFilterFactory is written (I assume) in
Solr. Could someone provide a Java translation? Thanks.

This is what I see:

<fieldType name="text_synonym" class="solr.TextField"
positionIncrementGap="100">
   <analyzer>
     <tokenizer class="solr.WhitespaceTokenizerFactory"/>
     <filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt"
             format="solr" ignoreCase="false" expand="true"
             tokenizerFactory="solr.WhitespaceTokenizerFactory"
             [optional tokenizer factory parameters]/>
   </analyzer>
 </fieldType>

Mike L

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message