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

Search api - how to stop using cache - to fetch real data every time #490

Open
nishajgd opened this issue Mar 13, 2022 · 1 comment
Open

Comments

@nishajgd
Copy link

when I use client.search(query: search_param, :reload => true) I get real data (not cached) after 2 mins.
Is there anyway I get the search results immediately, I mean by completely avoiding cache.

Currently I use reload: true & fetch(true) on search results. This helps me get the latest data after 2 mins.

Is there anyway I can avoid waiting 2 mins, so that I get the immediate proper search result.

Thanks in advance!

@JonnyBizness
Copy link

+1 to this.
Currently doing a search to return tickets with certain tags, getting results from the api of tickets that no longer have the tag :(

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

No branches or pull requests

2 participants