request
variable contains Solr query information and represents a regular request. A regular query request does not include Search DSL parameters.response
variable contains Solr response information and is used to return information from a regular request. Because a regular request does not include Search DSL parameters, the response will not return DSL results.ctx
variable is a map that stores data created by each stage of the pipeline. Use it to pass data from one stage to another and to store data that needs to be read by later custom stages. The contents can change between stages based on earlier modifications and on each stage’s configuration.ctx
variable instead of the deprecated _context
global variable.collection
variable is the name of the Managed Fusion collection being indexed or queried.solrServer
instance manages the pipeline’s default Managed Fusion collection. All indexing and query requests are made through this object. See the SolrJ SolrClient for details.solrServerFactory
provides lookups by collection name and returns a Solr server instance for that collection.QueryRequestAndResponse
to create query pipeline requests and responses.JSONResponse
returns lists of information as a string.logger
productsToBury
parameter that allows you to specify a list of product IDs to “bury” or demote in search results.
AbstractResponse
class to manipulate response documents, which works for both XML and JSON responses for versatility.
bq
parameter to apply boosts, which allows for precise ranking control in search results.
The boost values are linearly distributed between a maximum and minimum value, allowing for a smooth decrease in boost as the list progresses.
This is useful for merchandising control, promotional campaigns, or A/B testing different product arrangements.
elevateIds
parameter format required by Solr’s QEC, allowing specific documents to be promoted to the top of search results.
This is useful for merchandising control, promotional campaigns, or editorial control over search result ranking.
\t
for the tab character. When entering configuration values in the API, use escaped characters, such as \\t
for the tab character.