Skip to content

Commit

Permalink
Refs #33625: ElasticSearch query prepare - remove debug params from q…
Browse files Browse the repository at this point in the history
…uery to avoid errors
  • Loading branch information
soarer1004 committed Dec 13, 2024
1 parent 96b7274 commit ab1d431
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/elastic.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ function adjustBackendProxyUrl (req, indexName, entityType, config) {
delete parsedQuery.request
delete parsedQuery.request_format
delete parsedQuery.response_format
delete parsedQuery.appVersion
delete parsedQuery.instanceId
url = config.elasticsearch.host + ':' + config.elasticsearch.port + '/' + indexName + '/' + entityType + '/_search?' + queryString.stringify(parsedQuery)
} else {
parsedQuery._source_includes = parsedQuery._source_include
Expand Down

0 comments on commit ab1d431

Please sign in to comment.