Class ESSolrSynonymParser


  • public class ESSolrSynonymParser
    extends org.apache.lucene.analysis.synonym.SolrSynonymParser
    • Constructor Summary

      Constructors 
      Constructor Description
      ESSolrSynonymParser​(boolean dedup, boolean expand, boolean lenient, org.apache.lucene.analysis.Analyzer analyzer)  
    • Method Summary

      Modifier and Type Method Description
      void add​(org.apache.lucene.util.CharsRef input, org.apache.lucene.util.CharsRef output, boolean includeOrig)  
      org.apache.lucene.util.CharsRef analyze​(java.lang.String text, org.apache.lucene.util.CharsRefBuilder reuse)  
      • Methods inherited from class org.apache.lucene.analysis.synonym.SolrSynonymParser

        parse
      • Methods inherited from class org.apache.lucene.analysis.synonym.SynonymMap.Builder

        build, join
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ESSolrSynonymParser

        public ESSolrSynonymParser​(boolean dedup,
                                   boolean expand,
                                   boolean lenient,
                                   org.apache.lucene.analysis.Analyzer analyzer)
    • Method Detail

      • add

        public void add​(org.apache.lucene.util.CharsRef input,
                        org.apache.lucene.util.CharsRef output,
                        boolean includeOrig)
        Overrides:
        add in class org.apache.lucene.analysis.synonym.SynonymMap.Builder
      • analyze

        public org.apache.lucene.util.CharsRef analyze​(java.lang.String text,
                                                       org.apache.lucene.util.CharsRefBuilder reuse)
                                                throws java.io.IOException
        Overrides:
        analyze in class org.apache.lucene.analysis.synonym.SynonymMap.Parser
        Throws:
        java.io.IOException