Class LuceneWildcardExpressionHelper

java.lang.Object
org.hibernate.search.backend.lucene.types.predicate.parse.impl.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 Details

    • analyzeWildcard

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