Avi Aggarwal
01/17/2025, 11:01 AMfilter_by: sku:[arrayOfSKUs]
approach, which worked well when the search query included around 100 SKUs. However, when the number of SKUs increased to 300+, I encountered the following error:
"Server said: Query string exceeds max allowed length of 4000. Use the /multi_search endpoint for larger payloads."
Is there a way to increase the maximum allowed query length?
Alternatively, could you suggest a better approach or workaround for this?Kishore Nallan
01/17/2025, 11:06 AM/multi_search
API which uses POST and which does not have this restriction.Avi Aggarwal
01/17/2025, 11:06 AMKishore Nallan
01/17/2025, 11:08 AMAvi Aggarwal
01/17/2025, 11:08 AMAvi Aggarwal
01/17/2025, 11:08 AMAvi Aggarwal
01/17/2025, 11:19 AMThe results array in a multi_search response is guaranteed to be in the same order as the queries you send in the searches array in your request.
How can I combine the hits from multiple searches and produce a single, sorted result?Kishore Nallan
01/17/2025, 11:30 AMAvi Aggarwal
01/17/2025, 12:23 PMAvi Aggarwal
01/17/2025, 1:04 PMAvi Aggarwal
01/17/2025, 1:33 PMinclude_fields
to ensure that only the fields present in all queried collections are included, will the union operation still work in this case?Kishore Nallan
01/17/2025, 1:45 PM