Class TextFieldQueryMapper

    • Constructor Detail

      • TextFieldQueryMapper

        public TextFieldQueryMapper()
    • Method Detail

      • convertToLuceneQuery

        public org.apache.lucene.search.Query convertToLuceneQuery​(TextFieldQuery textFieldQuery)
        Converts the given query into a lucene query.
        Parameters:
        textFieldQuery - a TextFieldQuery instance.
        Returns:
        a Lucene specific version of the TextFieldQuery supplied.
        Throws:
        IllegalArgumentException - if the query cannot be successfully parsed by QueryParser
      • setLuceneQueryParserFactory

        public void setLuceneQueryParserFactory​(LuceneQueryParserFactory luceneQueryParserFactory)