You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 prefixhttps://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]'.
The text was updated successfully, but these errors were encountered:
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 asprefix
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/query-dsl-prefix-query.html). The syntax can eg. be!^=
(i.e., negatedprefix
). Example:name!^='[SmartGrid]'
.The text was updated successfully, but these errors were encountered: