Solr Subquery Stage
The Solr Subquery query pipeline stage is used to query external collections.
The Solr Subquery stage runs a query and adds the results to the pipeline Context object, which is part of the Request object.
The query must return results in JSON format, so that they can be added to the query pipeline.
|
When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.
|
Solr query to another collection. Returned results can be used to join results or boost main results
skip - boolean
Set to true to skip this stage.
Default: false
label - string
A unique label for this stage.
<= 255 characters
condition - string
Define a conditional script that must result in true or false. This can be used to determine if the stage should process or not.
key - stringrequired
The key used to join these results onto the pipeline context.
Default: subquery-results
collection - stringrequired
handler - stringrequired
Default: select
method - stringrequired
Default: GET
Allowed values: GETPOST
parentParams - array[string]
rollupKeys - array[string]
params - array[object]required
object attributes:{key
required : {
display name: Parameter Name
type: string
}value
: {
display name: Parameter Value
type: string
}}
headers - array[object]
object attributes:{key
required : {
display name: Parameter Name
type: string
}value
: {
display name: Parameter Value
type: string
}}