Class SearchIndexUtil


  • public class SearchIndexUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchIndexUtil()  
    • Method Summary

      Modifier and Type Method Description
      static java.util.List<java.lang.String> analyze​(java.lang.String text, org.apache.lucene.analysis.Analyzer analyzer)  
      static org.apache.lucene.document.FieldType createIndexFieldType()  
      static org.apache.lucene.search.Query createQuery​(TextFilterType filterType, java.lang.String fieldName, java.lang.String value, org.apache.lucene.analysis.Analyzer analyzer)  
      • Methods inherited from class java.lang.Object

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

      • SearchIndexUtil

        public SearchIndexUtil()
    • Method Detail

      • analyze

        public static java.util.List<java.lang.String> analyze​(java.lang.String text,
                                                               org.apache.lucene.analysis.Analyzer analyzer)
      • createQuery

        public static org.apache.lucene.search.Query createQuery​(TextFilterType filterType,
                                                                 java.lang.String fieldName,
                                                                 java.lang.String value,
                                                                 org.apache.lucene.analysis.Analyzer analyzer)
      • createIndexFieldType

        public static org.apache.lucene.document.FieldType createIndexFieldType()