Interface QueryProcessor.FilterChain

Enclosing class:
QueryProcessor

public static interface QueryProcessor.FilterChain
Interface for filter chains that process queries through a sequence of filters. This follows the Chain of Responsibility pattern for query processing.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensearch.index.query.QueryBuilder
    execute(QueryContext context, org.apache.lucene.search.Query query, float boost)
    Executes the filter chain on the given query.
  • Method Details

    • execute

      org.opensearch.index.query.QueryBuilder execute(QueryContext context, org.apache.lucene.search.Query query, float boost)
      Executes the filter chain on the given query.
      Parameters:
      context - the query context containing search parameters and state
      query - the Lucene query to be processed
      boost - the boost factor to apply to the query
      Returns:
      the processed OpenSearch QueryBuilder