feat: add index.search.default_pipeline setting#7103
Conversation
Signed-off-by: Ian Menendez <ianfmenendezd@gmail.com>
|
Thanks for adding this, @IanMenendez ! @msfroh - Can you please check this for technical accuracy? |
| - `index.search.default_pipeline` (String): The default search pipeline for the index to be used on each search request. If the default pipeline is set and the pipeline does not exist, then index requests fail. The pipeline name _none specifies that the index does not have an search pipeline. | ||
|
|
There was a problem hiding this comment.
We may want to incorporate the changes (and the limitations) from https://github.com/opensearch-project/documentation-website/pull/7053/files too.
Prior to OpenSearch 2.14, index.search.default_pipeline would only work if you search exactly 1 index using its name. If you tried to us an index pattern, an alias, or multiple indices, then no default pipeline would be applied.
With the linked change, we resolve index names, aliases, patterns to the real indices, check to see which default search pipelines they use (if any). If all resolved indices use the same pipeline, we'll use it. Otherwise, we still won't apply a search pipeline.
There was a problem hiding this comment.
How about we link to the updated topic in https://opensearch.org/docs/latest/search-plugins/search-pipelines/using-search-pipeline/#default-search-pipeline once 2.14 is merged?
There was a problem hiding this comment.
How about we link to the updated topic in https://opensearch.org/docs/latest/search-plugins/search-pipelines/using-search-pipeline/#default-search-pipeline once 2.14 is merged?
I like this idea. As this new changes will make the text way more lengthy
Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM>
* feat: add index.search.default_pipeline setting Signed-off-by: Ian Menendez <ianfmenendezd@gmail.com> * Update _install-and-configure/configuring-opensearch/index-settings.md Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM> --------- Signed-off-by: Ian Menendez <ianfmenendezd@gmail.com> Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM> Co-authored-by: Heather Halter <HDHALTER@AMAZON.COM> (cherry picked from commit d065bd5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Add Information on
index.search.default_pipelineunder_install-and-configure/configuring-opensearch/index-settings.mdIssues Resolved
Closes #7102
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.