Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use cloud search cursor #68

Open
ufxela opened this issue May 11, 2020 · 2 comments
Open

use cloud search cursor #68

ufxela opened this issue May 11, 2020 · 2 comments
Labels

Comments

@ufxela
Copy link
Collaborator

ufxela commented May 11, 2020

right now, we're limited to 10,000 search results for any search. to unlock maximum potential, use cloudsearch cursor

https://docs.aws.amazon.com/cloudsearch/latest/developerguide/paginating-results.html

@ufxela ufxela added the search label May 11, 2020
@epicfaace
Copy link
Member

Don't we already do this? If you navigate to a new page, you'll note that we do a network call like (note the start and size parameters):

https://ehabp6fuc5.execute-api.us-east-1.amazonaws.com/prod?q=test&size=20&start=20&highlight.article_text=%7Bformat:%27html%27,max_phrases:5%7D&fq=publish_date:[%271892-01-01T12:00:00Z%27,%272015-01-02T12:00:00Z%27]

@ufxela
Copy link
Collaborator Author

ufxela commented May 11, 2020

we are paginating, but we're not doing deep paginating (right now, the results for a query are limited to 10,000). under "Deep Paging Beyond 10,000 Hits in Amazon CloudSearch" it says that you can use a cursor to get more than 10,000 hits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants