cloudsearch.googleapi is returning drastically wrong result count for a particular

62 views
Skip to first unread message

Sudeshna Majumder

unread,
Jul 16, 2020, 12:13:52 PM7/16/20
to Google App Engine

On calling cloudsearch.googleapi , it is returning a wrong resultcount which is leading to inappropriate pagination at frontend and also incomplete result display.

My search application index and serve multiple domains/websites. For one site among them search result is drastically different than expected. When I called that api explicitly to check , I found that the result contains 100 records in response body ,but resultcountExact or resultcountEstimate is only 19 (suppose). So pagination is based on this count 19 and only showing 2 pages (total 20 records, 10 on each page). Rest of 80 records are not shown as search result .

 How can I solve it ? 

And eventually this count mismatch is for a single domain only, other sites using the same interface and datasource acting perfectly fine .

Alexis (Google Cloud Platform Support)

unread,
Jul 16, 2020, 3:40:50 PM7/16/20
to Google App Engine
Hello Sudeshna,

Thank you for reporting this potential issue.

Since you are mentioning that the API call is returning the wrong result count, it might be better to engage our engineers through another system. This[1] issue tracker system will allow you log a ticket with them. Then, we could follow-up with it.

Thank you.

Reply all
Reply to author
Forward
0 new messages