Hello,

I am trying to figure out what is a normal expectation of latency for search indexing to occur after publishing a tweet.

Writing end to end tests to verify the cursors of the search without knowing the indexing time is difficult.
Indexing time seems to vary from seconds to hours for a same keyword.

Could you provide any advice on how I could approach this issue.

Thanks,
Linvi

1 Like

It is complicated for a number of reasons:

  • the standard search API is an old stack which is no longer being developed
  • there’s no guarantee that specific Tweets will be indexed, based on a range of reasons including whether or not an account itself is relatively new, how busy the service is, etc (the latter is likely a reason for the differences you’ve observed)
  • when the new Labs Recent Search API graduates to a production state, then the current standard search will be deprecated

At the moment, I don’t have any suggestion on how to improve this for your tests.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.