Harpreet Sangar
01/03/2025, 11:00 AMcurl -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -X GET \
"<http://localhost:8108/collections/customer/documents/export?include_fields=id>"
Then send this query to the order
collection:
curl "<http://localhost:8108/multi_search?query_by=name>" \
-X POST \
-H "Content-Type: application/json" \
-H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" \
-d '{
"searches": [
{
"collection": "order",
"filter_by": "customer.id: !=[<all of the ids from previous step>]"
}
]
}'
Using multi_search
endpoint will not limit the size of your request.