Package org.codelibs.fess.query
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 TypeMethodDescriptionorg.opensearch.index.query.QueryBuilderexecute(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 statequery- the Lucene query to be processedboost- the boost factor to apply to the query- Returns:
- the processed OpenSearch QueryBuilder
-