Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Sense: added Simple Query String
Browse files Browse the repository at this point in the history
  • Loading branch information
bleskes committed Nov 18, 2014
1 parent a1d6ac4 commit 1817b96
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sense/app/kb/api_1_0/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,20 @@ define(["_"], function (_) {
},
tie_breaker: 0
},
simple_query_string: {
__template: {
query: "",
fields: []
},
query: "",
fields: [ "{field}" ],
default_operator: { __one_of: [ "OR", "AND" ]},
analyzer: "",
flags: "OR|AND|PREFIX",
lowercase_expanded_terms: { __one_of: [ true, false ]},
locale: "ROOT",
lenient: { __one_of: [ true, false ]}
},
range: {
__template: {
'FIELD': {
Expand Down

0 comments on commit 1817b96

Please sign in to comment.