fix typo in synonyms multigroups update

This commit is contained in:
Jean-Francois Dockes 2015-08-25 07:36:48 +02:00
parent e7a669b668
commit d63b16de93
2 changed files with 4 additions and 3 deletions

View File

@ -3358,7 +3358,7 @@ dir:recoll dir:src -dir:utils -dir:common
<listitem><para><literal>p</literal> can be used to turn the
default phrase search into a proximity one
(unordered). Example:<literal>"order any in"p</literal></para>
(unordered). Example: <literal>"order any in"p</literal></para>
</listitem>
<listitem><para><literal>C</literal> will turn on case

View File

@ -300,10 +300,11 @@ bool Db::termMatch(int typ_sens, const string &lang, const string &_term,
for (vector<string>::const_iterator it1 = sg.begin();
it1 != sg.end(); it1++) {
if (it1->find_first_of(" ") != string::npos) {
if (multiwords)
if (multiwords) {
multiwords->push_back(*it1);
}
} else {
exp1.push_back(*it);
exp1.push_back(*it1);
}
}
}