Found the bugged document using the following appr...
# community-help
h
Found the bugged document using the following approach: Collect all the customer ids using the export endpoint like,
Copy code
curl -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:
Copy code
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.