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
d78d25b988
commit
f4e390c35b
1 changed files with 2 additions and 2 deletions
|
@ -1067,13 +1067,13 @@ bool SearchDataClauseSimple::processUserString(Rcl::Db &db, const string &iq,
|
|||
int lmods = mods;
|
||||
if (splitter.nostemexps.front())
|
||||
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(),
|
||||
lmods, &pqueries);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
m_hldata.ugroups.push_back(vector<string>(1, *it));
|
||||
m_hldata.ugroups.push_back(splitter.terms);
|
||||
processPhraseOrNear(db, ermsg, &splitter, mods, &pqueries,
|
||||
useNear, slack);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue