mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
unicode: bugfix Words::addWords()
This commit is contained in:
@ -301,7 +301,8 @@ bool Words::addWords( char *s, int32_t nodeLen, bool computeWordIds ) {
|
||||
// get props
|
||||
uint32_t props = UnicodeMaps::query_properties(c);
|
||||
// good stuff?
|
||||
if(props&(Unicode::White_Space|Unicode::Extender)) continue;
|
||||
if(props&(Unicode::Extender)) continue;
|
||||
//(todo): props&ignorable (which is quite complicated)
|
||||
//something abotu ignorable
|
||||
// stop? if UC_WORCHAR is set, that means its an alnum
|
||||
if(!UnicodeMaps::is_wordchar(c)) {
|
||||
|
Reference in New Issue
Block a user