make ugroups a real vector of vectors (the previous "vectors" had only one entry with the user string even if it was made of several words)
This commit is contained in:
parent
3ed10ad122
commit
9561309f0b
@ -1067,13 +1067,13 @@ bool SearchDataClauseSimple::processUserString(Rcl::Db &db, const string &iq,
|
|||||||
int lmods = mods;
|
int lmods = mods;
|
||||||
if (splitter.nostemexps.front())
|
if (splitter.nostemexps.front())
|
||||||
lmods |= SearchDataClause::SDCM_NOSTEMMING;
|
lmods |= SearchDataClause::SDCM_NOSTEMMING;
|
||||||
m_hldata.ugroups.push_back(vector<string>(1, *it));
|
m_hldata.ugroups.push_back(splitter.terms);
|
||||||
processSimpleSpan(db, ermsg, splitter.terms.front(),
|
processSimpleSpan(db, ermsg, splitter.terms.front(),
|
||||||
lmods, &pqueries);
|
lmods, &pqueries);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
m_hldata.ugroups.push_back(vector<string>(1, *it));
|
m_hldata.ugroups.push_back(splitter.terms);
|
||||||
processPhraseOrNear(db, ermsg, &splitter, mods, &pqueries,
|
processPhraseOrNear(db, ermsg, &splitter, mods, &pqueries,
|
||||||
useNear, slack);
|
useNear, slack);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user