Choose a Pipeline When Performing a Query

When performing a query, the pipeline query parameter can be used to specify which pipeline to use:

  • Its value is the name of the pipeline.

  • When no value is specified, a default pipeline is used.

The query will use the pipeline mypipeline:

GET /rest/search?q=@uri&pipeline=mypipeline HTTP/1.1

Because no value is specified for the query parameter, the default pipeline is used:

GET /rest/search?q=@uri HTTP/1.1
Recommended Articles