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

Searching time API requests vs. via Kalamar #577

Open
margaretha opened this issue Mar 31, 2023 · 2 comments
Open

Searching time API requests vs. via Kalamar #577

margaretha opened this issue Mar 31, 2023 · 2 comments

Comments

@margaretha
Copy link
Contributor

@notesjor reported that direct API requests sometimes takes much longer for searching that query via Kalamar.
Could you please posted an example? I cannot find any big time differences.

@margaretha
Copy link
Contributor Author

Kalamar stores "the number of results" thus perform search with option "cutoff=true" that improves the searching time. See https://github.com/KorAP/Kustvakt/wiki/Service:-Search-GET

We have implemented a cache for this in Kustvakt as well. See 5a5b995

@margaretha margaretha added this to the Version 0.71.1 milestone May 28, 2024
@notesjor
Copy link

Dear Eliza, thank you very much - I'll take a look at it next week.

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