Projects
Kolab:3.4:Updates
xapian-core
xapian-some-cjk-chars-are-punctuation.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xapian-some-cjk-chars-are-punctuation.patch of Package xapian-core
Index: xapian-core-1fmwheezy28569/queryparser/snippetgenerator_internal.cc =================================================================== --- xapian-core-1fmwheezy28569.orig/queryparser/snippetgenerator_internal.cc 2013-05-24 07:09:07.641153411 +0000 +++ xapian-core-1fmwheezy28569/queryparser/snippetgenerator_internal.cc 2013-05-24 07:09:12.756884500 +0000 @@ -248,7 +248,9 @@ SnippetGenerator::Internal::accept_text( } while (true) { - if (cjk_ngram && CJK::codepoint_is_cjk(*itor)) { + if (cjk_ngram && + CJK::codepoint_is_cjk(*itor) && + Unicode::is_wordchar(*itor)) { const string & cjk = CJK::get_cjk(itor); for (CJKTokenIterator tk(cjk); tk != CJKTokenIterator(); ++tk) { const string & cjk_token = *tk;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.