Skip to content

Commit

Permalink
chore: add exists query
Browse files Browse the repository at this point in the history
  • Loading branch information
StephaneBour committed Mar 6, 2018
1 parent b0a6131 commit 4b76c47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kb/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ sense.kb.addGlobalAutocompleteRules("query", {
{__scope_link: ".query"}
]
},
exists: {
__template: {
"field": "VALUE"
},
field: "$FIELD$"
},
field: {
"$FIELD$": {
query: "", boost: 2.0,
Expand Down

0 comments on commit 4b76c47

Please sign in to comment.