Search API Request Returning Old Data for A Period of Time

Options

I am using the search sheet REST API call for the first time. I tested against a known value in a sheet and it returned the correct rows. (the value was a choice in a multi-choice column.) Then I modified the sheet to remove the matching value and saved. Then I reran the REST API call and it still retrieved the row, even though the value had been removed. I did this several times over the next few minutes and still saw the same issue. When I actually retrieved the row using the Get Row call and the RowID from the search results, the matching value is not there.

When I ran the search again about 30 mins later, the search performed correctly and did not return any results.

It appears that the search api is searching against a cached version of the sheet for some period of time. Is this true? If so, what is the period of time?

Answers