Class SearchIndexUtil
java.lang.Object
org.teamapps.universaldb.index.text.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.FieldTypecreateIndexFieldType()static org.apache.lucene.search.QuerycreateQuery(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 Details
-
SearchIndexUtil
public SearchIndexUtil()
-
-
Method Details
-
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()
-