Skip to content
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

extend API filter to allow for "not starts with" operation #723

Open
konstan opened this issue Nov 14, 2022 · 0 comments
Open

extend API filter to allow for "not starts with" operation #723

konstan opened this issue Nov 14, 2022 · 0 comments

Comments

@konstan
Copy link
Contributor

konstan commented Nov 14, 2022

When searching for resources with the full-text search, it's sometimes handy to remove (filter out) certain documents from the search results by "not starts with" operation. We already have "starts with" as ^= (implemented as prefix https://www.elastic.co/guide/en/elasticsearch/reference/7.17/query-dsl-prefix-query.html). The syntax can eg. be !^= (i.e., negated prefix). Example: name!^='[SmartGrid]'.

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

No branches or pull requests

1 participant