Class LuceneWildcardExpressionHelper


  • public class LuceneWildcardExpressionHelper
    extends Object
    Copied and adapted from org.apache.lucene.queryparser.classic.QueryParserBase#analyzeWildcard of Apache Lucene and Solr.

    Allows to normalize a wildcard expression term.

    • Method Detail

      • analyzeWildcard

        public static org.apache.lucene.util.BytesRef analyzeWildcard​(org.apache.lucene.analysis.Analyzer analyzer,
                                                                      String field,
                                                                      String termStr)