You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement] Refactor OpenSearchQueryRequest and OpenSearchScrollRequest so that we pass in includes list from query #1536
When creating the OpenSearchResponse, we don't have access to the OpenSearchQueryRequest or OpenSearchScrollRequest - which is needed for context. Right now, we are picking out the includes list but this is unavailable for scroll requests (which means _id and other metafields are not output on 2+ pages of pagination requests).
What solution would you like?
a way to serialize the includes list that is send to OpenSearch in the request.
a way to pass the serialized includes list to the OpenSearchResponse so that we aren't sending unnecessary information around.
Maybe refactor OpenSearchQueryRequest or OpenSearchScrollRequest to handle/pass this information for both paged and non-paged requests.
What alternatives have you considered?
Related to changes in #1456
Activity
opensearch-project#1536: Refactor OpenSearchQueryRequest and move inc…
opensearch-project#1536: Checkstyle fixes
opensearch-project#1536: Checkstyle fixes
opensearch-project#1536: Refactor OpenSearchQueryRequest and move inc…
opensearch-project#1536: Refactor OpenSearchQueryRequest and move inc…
opensearch-project#1536: Spotless Apply
(#1536) Refactor OpenSearchQueryRequest and move includes to builder (#…
(#1536) Refactor OpenSearchQueryRequest and move includes to builder (#…
(#1536) Refactor OpenSearchQueryRequest and move includes to builder (#…
(opensearch-project#1536) Refactor OpenSearchQueryRequest and move in…