Merge pull request #29875 from backstage/es-query-options
Pass queryOptions to ElasticSearchSearchEngine
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-search-backend-module-elasticsearch': patch
|
||||
---
|
||||
|
||||
Fixed an issue where the `search.elasticsearch.queryOptions` config were not picked up by the `ElasticSearchSearchEngine`.
|
||||
@@ -192,6 +192,9 @@ export class ElasticSearchSearchEngine implements SearchEngine {
|
||||
config.getOptional<ElasticSearchHighlightOptions>(
|
||||
'search.elasticsearch.highlightOptions',
|
||||
),
|
||||
config.getOptional<ElasticSearchQueryConfig>(
|
||||
'search.elasticsearch.queryOptions',
|
||||
),
|
||||
);
|
||||
|
||||
for (const indexTemplate of this.readIndexTemplateConfig(
|
||||
|
||||
Reference in New Issue
Block a user