Hi,
We are searching for tickets based on a custom field. Below is the API
https://mydomain.zendesk.com/api/v2/search.json?query=custom_field_11116481119185:"*123:zzz*" type:ticket
We do changes to this field via the Update Ticket rest API and then search via the above Search rest API but it does not bring the updated results immediately. Sometimes it takes time of 2-5 min.
Is this a known issue or I am doing something wrong?
This is expected behavior it may take a few minutes for the records to get updated into the search index. We call it out in our documentation here.
Hope this helps!