query language: the default slack for proximity field searches had become 0. Restore the old default of 10
This commit is contained in:
parent
9af9c6700b
commit
50a5e6ff6d
@ -373,7 +373,10 @@ StringToWasaQuery::Internal::stringToQuery(const string& str, string& reason)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'p': mods |= WasaQuery::WQM_PROX; break;
|
||||
case 'p':
|
||||
mods |= WasaQuery::WQM_PROX;
|
||||
nclause->m_slack = 10;
|
||||
break;
|
||||
case 'r': mods |= WasaQuery::WQM_REGEX; break;
|
||||
case 's': mods |= WasaQuery::WQM_SLOPPY; break;
|
||||
case 'w': mods |= WasaQuery::WQM_WORDS; break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user