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

expand_keywords as a query option #8

barryhunter opened this Issue Oct 18, 2017 · 2 comments


None yet
3 participants

barryhunter commented Oct 18, 2017

Currently expand_keywords can be enabled on a index.

Would be more useful if was an OPTION per query, ie SELECT ... WHERE MATCH(...) OPTION expand_keywords=1

The index level option could remain, and just set default, the query option would just override it for that query. (maintain backwards compatibility)


This comment has been minimized.

airolg commented Oct 19, 2017

Added to backlog


This comment has been minimized.


tomatolog commented Dec 6, 2017

just pushed this feature to master 73647a7 now you might add expand_keywords=1 or expand_keywords=0 as SphinxQL option to control that option per query

ie to enable expand for index declared without it

select * from exp_off where match ( 'run' ) option expand_keywords=1

or to disable expand for index

select * from exp_off where match ( 'run' ) option expand_keywords=0

@tomatolog tomatolog closed this Dec 6, 2017

klirichek pushed a commit that referenced this issue Oct 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment