Interface QueryParser.Filter

Enclosing class:
QueryParser

public static interface QueryParser.Filter
Interface for query filters that can modify or transform queries. Filters are applied in the order they are added to the parser.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.search.Query
    Parses and potentially modifies the query string.
  • Method Details

    • parse

      org.apache.lucene.search.Query parse(String query, QueryParser.FilterChain chain)
      Parses and potentially modifies the query string.
      Parameters:
      query - the query string to process
      chain - the next filter chain to invoke
      Returns:
      the processed Query object