Skip to content

add ignore_unavailable option for sort block

Mykyta Savchuk requested to merge sort-ignore-unavailable into master

when kind in /query or /query_with_cursor request payload does not exist and sort block is present, 404 is returned. This MR fixes it and ignores unavailable indexes for sorting by setting ignore_unavailable parameter to true when getting field mapping. Same logic is used when making search request in SearchRequestUtil class.

Edited by Mykyta Savchuk

Merge request reports