Package org.codelibs.fess.query
Interface QueryProcessor.Filter
- Enclosing class:
QueryProcessor
public static interface QueryProcessor.Filter
Interface for query processing filters.
Filters can modify, validate, or enhance queries before they are executed.
-
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.index.query.QueryBuilderexecute(QueryContext context, org.apache.lucene.search.Query query, float boost, QueryProcessor.FilterChain chain) Executes the filter logic on the given query.
-
Method Details
-
execute
org.opensearch.index.query.QueryBuilder execute(QueryContext context, org.apache.lucene.search.Query query, float boost, QueryProcessor.FilterChain chain) Executes the filter logic 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 querychain- the next filter chain to execute after this filter- Returns:
- the processed OpenSearch QueryBuilder
-