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

Do not crash if we are searching on a zim file without fulltext index. #830

Merged
merged 2 commits into from Apr 11, 2022

Conversation

mgautierfr
Copy link
Member

Fix #826

`Searcher::search` throw a exception if there is no fulltext index in
the zim file.
We must be prepared for this.
While we are not crashing now, it is better to not propose fulltext index
to the user if we cannot do a search.
Copy link
Collaborator

@juuz0 juuz0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kelson42 kelson42 merged commit 46b3398 into master Apr 11, 2022
@kelson42 kelson42 deleted the fix_nonft_search branch April 11, 2022 19:04
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

Successfully merging this pull request may close these issues.

When search using fullindex,application crashed.
3 participants