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 takes a long time #2953

Closed
DieselTech opened this issue May 14, 2024 · 1 comment · Fixed by #2977
Closed

Searching takes a long time #2953

DieselTech opened this issue May 14, 2024 · 1 comment · Fixed by #2977
Labels
enhancement New feature or request needs-triage Needs to be triaged by a developer and assigned a release UI Primarily UI impacting

Comments

@DieselTech
Copy link
Collaborator

What happened?

Search is starting to take a long time to come back with results. As you start typing it starts searching right away, but that takes time to complete, then when you finally finish typing what your looking for, it needs to compete searching for everything before that point.

This makes it feel like a bad experience because you don't know if it's still searching in the background or if there really is "no results found" There is no indication that it's actively searching, so you just sit there for 10+ seconds waiting to see if the dialog changes.

What did you expect?

Search should state that it is searching. Not default to "no results found" while waiting for the operation to complete.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

Nightly Testing Branch

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

Windows

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Microsoft Edge

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

No response

Relevant log output

/api/search/search?queryString=day responded 200 in 6507.0227 ms
/api/search/search?queryString=day%20off responded 200 in 6373.9703 ms

Additional Notes

No response

@DieselTech DieselTech added the needs-triage Needs to be triaged by a developer and assigned a release label May 14, 2024
@majora2007 majora2007 added enhancement New feature or request UI Primarily UI impacting labels May 14, 2024
@majora2007 majora2007 added this to To do in v0.8 - PDF & Comic Love via automation May 14, 2024
@majora2007 majora2007 moved this from To do to Done, Not Pushed in v0.8 - PDF & Comic Love Jun 4, 2024
@majora2007
Copy link
Member

What I found was the search indicator wasn't hooked up.

I hooked it up and also changed so Chapters and Files aren't included by default. The UI will now let you click to enable a search against those. That should drastically improve search times as well for larger installs.

v0.8 - PDF & Comic Love automation moved this from Done, Not Pushed to Done Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage Needs to be triaged by a developer and assigned a release UI Primarily UI impacting
Projects
Development

Successfully merging a pull request may close this issue.

2 participants