mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Full text search: Fix search in "Wildcards" and "RegExp" modes
This commit is contained in:
parent
baff02a14b
commit
519670ad18
|
@ -980,7 +980,8 @@ void FTSResultsRequest::combinedIndexSearch( BtreeIndexing::BtreeIndex & ftsInde
|
|||
linksPtr += sizeof(uint32_t);
|
||||
}
|
||||
wordNom += 1;
|
||||
break;
|
||||
if( searchMode == FTS::PlainText || searchMode == FTS::WholeWords )
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1069,7 +1070,8 @@ void FTSResultsRequest::fullIndexSearch( BtreeIndexing::BtreeIndex & ftsIndex,
|
|||
allWordsLinks[ i ].insert( *( reinterpret_cast< uint32_t * >( linksPtr ) ) );
|
||||
linksPtr += sizeof(uint32_t);
|
||||
}
|
||||
break;
|
||||
if( searchMode == FTS::PlainText )
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue