-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selective expand_keywords (exact form, not infix/prefix expansion) #48
Comments
expand_keywords with enumeration |
Well personally I only would use in it in index (ie the index has ... if want to 'disable' Dont think would need Also dont think need case where |
Added to backlog, thank you |
I've just pushed this feature to master branch at 9f16759 Added enumerations Documentation is on the way |
The new
morphology_skip_fields
works great. But to avoid having to modify queries manually, its useful to useexpand_keywords
to automatically add the exact form operator (=word).... have just run into a problem on one my production indexes, also have
min_prefix_len
enabled to (with effectiveenable_star=1
), so can do prefix matches if want, however turning onexpand_keywords
is transparently enabling part word matches, becauseword
expands to (word | word* | =word)So this is a request to be able to use
enable_keywords
, but ONLY get exact form expansion, not wildcard expansion.ie so
word
just expands to(word | =word)
- even thomin_infix_len
/min_prefix_len
is usedNot sure on syntax, but
expand_keywords = 2
would be the easy way. Butexpand_keywords = exact
would be more semantic. Then could also doexpand_keywords = star
or evenstar,exact
.With
1
remaining as an alias forstar,exact
The text was updated successfully, but these errors were encountered: