Hi Mike, I wrote something, it is just a very basic example though
https://github.com/freedev/lucene-example Have a look may be it is useful On Wed, May 2, 2018 at 9:48 PM, Mike Lynott <michaellyn...@boisestate.edu> wrote: > 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 > -- Vincenzo D'Amore