Pesquisas recentes


Sem pesquisas recentes

Search API - empty results



Publicado 23 de mar. de 2021

I'm using Search API to fetch a list of tickets.
Then I delete the first 100 tickets via the API (destroy_many).

When performing a search query again. I get a list of empty results as the first page, while the "count" property of the response indicates there is still data available for the search.

1) Is this due to indexing & the fact that tickets have been deleted recently?

2) The deletion job cannot always process all tickets. E.g. "total" = 100, "progress" = 78, "status" = completed. Is this a problem / what can be the cause?



0

1

1 comentário

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Glenn!

1) Yes, this is most likely a result of indexing. We note in this article that it can take up to a few minutes for recently modified tickets to appear in such results with the updates.

2) Is it possible that in your requests you're sending the same ticket IDs multiple times? So if your first batch had tickets 1-100 and then your second batch had tickets 75-174, tickets 75-100 may have already been deleted. If that isn't what is happening, let me know and we can open up a private ticket so that I can explore your account directly.

0


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação