Skip to content

Comments

fix: add requestOptions to MultiSearcher init#341

Merged
shaejaz merged 4 commits intomasterfrom
fix/multi-query-headers
Jul 1, 2025
Merged

fix: add requestOptions to MultiSearcher init#341
shaejaz merged 4 commits intomasterfrom
fix/multi-query-headers

Conversation

@shaejaz
Copy link
Contributor

@shaejaz shaejaz commented Jun 27, 2025

Summary
MultiSearcher extra headers via requestOptions do not work as they do not get forwarded in the multi query request.
This PR adds a requestOptions arg to the MultiSearcher init.

FX-3397

Result
Extra headers (and any option request options) now get forwarded to the multi query request.

@shaejaz shaejaz requested review from Haroenv and aallam June 27, 2025 11:46
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! couple comments missing

Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good to me!

@shaejaz shaejaz requested review from Haroenv and aallam June 30, 2025 12:04
@shaejaz shaejaz merged commit 51a0890 into master Jul 1, 2025
10 checks passed
@shaejaz shaejaz deleted the fix/multi-query-headers branch July 1, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants