Interface LuceneQueryParserFactory

All Known Implementing Classes:
DefaultLuceneQueryParserFactory

@InjectableComponent @Internal public interface LuceneQueryParserFactory
A factory to obtain a Lucene QueryParser instance.
Since:
v6.0.7
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.queryparser.classic.QueryParser
    Creates a query parser instance.
  • Method Details

    • createParserFor

      org.apache.lucene.queryparser.classic.QueryParser createParserFor(String fieldName)
      Creates a query parser instance.
      Parameters:
      fieldName - the default field to be used by the query parser for query terms.
      Returns:
      A query parser instance.