Class TextIndexUtils


  • public class TextIndexUtils
    extends Object
    • Method Detail

      • isFstTypeNative

        public static boolean isFstTypeNative​(@Nullable
                                              Map<String,​String> textIndexProperties)
      • getFSTTypeOfIndex

        public static FSTType getFSTTypeOfIndex​(File indexDir,
                                                String column)
      • extractStopWordsInclude

        @Nonnull
        public static List<String> extractStopWordsInclude​(Map<String,​String> columnProperty)
      • extractStopWordsExclude

        @Nonnull
        public static List<String> extractStopWordsExclude​(Map<String,​String> columnProperty)
      • getStandardAnalyzerWithCustomizedStopWords

        public static org.apache.lucene.analysis.standard.StandardAnalyzer getStandardAnalyzerWithCustomizedStopWords​(@Nullable
                                                                                                                      List<String> stopWordsInclude,
                                                                                                                      @Nullable
                                                                                                                      List<String> stopWordsExclude)