Configuring query pipeline stages
- In the Fusion UI, the Query Workbench provides an environment for configuring the stages in a query pipeline.
- The Query Stages API is used to create, list, update, or delete query stages using JSON. See also the Query Pipelines API.
Asynchronous query pipeline processing
Query pipeline processing performance can be improved by enabling asynchronous processing for certain stages that make requests to secondary collections, external databases, and so on. The following stages support asynchronous processing:- Active Directory Security Trimming
- Apply Rules
- Boost with Signals
- JDBC Lookup
- Security Trimming
- Solr Subquery
Conditional query processing
Query Pipeline stages are used to modify Request objects and Response objects. Each stage can include a conditional JavaScript expression (thecondition
property in its configuration) that can access these objects.
For example, this condition first checks that the property fusion-user-name
is specified in the Request object, then checks for a particular value:
Reference topics
See these reference topics for complete details about each query pipeline stage:Setup
Relevancy
- Block Documents
- Landing Pages
- Parameterized Boosting
- Recommend More Like This
- Recommend Items for User
- Recommend Items for Item
Query rewriting
Response rewriting
- Response Document Exclusion Stage
- Response Document Field Redaction Stage
- Response Pairwise Swap
- Response Shuffle Stage
- Modify Response with Rules