We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current situation: https://download.kiwix.org/zim/wikipedia/wikipedia_zh_mathematics_mini_2023-05.zim
fulltext search 平方 gives no result.
平方
actually there are much more articles contain this word.
english word seems ok. The No seems another issue.
No
CJK characters have to be indexed with CJK flags
Creation:
Xapian::TermGenerator indexer; indexer.set_flags( Xapian::TermGenerator::FLAG_CJK_NGRAM );
Query:
Xapian::QueryParser::feature_flag flag = Xapian::QueryParser::FLAG_DEFAULT; if( searchMode == FTS::Wildcards ) flag = Xapian::QueryParser::FLAG_WILDCARD; Xapian::Query query = qp.parse_query( query_string, flag|Xapian::QueryParser::FLAG_CJK_NGRAM );
Originally posted by @kelson42 in #794 (comment)
The text was updated successfully, but these errors were encountered:
@xiaoyifang The PR #806 should fix this. Can you test on your side ? I'm not sure to fully understand what is the expected behavior :)
Sorry, something went wrong.
From the unittest you provided .it seems ok.
mgautierfr
Successfully merging a pull request may close this issue.
Current situation:
https://download.kiwix.org/zim/wikipedia/wikipedia_zh_mathematics_mini_2023-05.zim
fulltext search
平方
gives no result.
actually there are much more articles contain this word.
english word seems ok.
The
No
seems another issue.CJK characters have to be indexed with CJK flags
Creation:
Query:
Originally posted by @kelson42 in #794 (comment)
The text was updated successfully, but these errors were encountered: