We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c784247 + 39c0920 commit 26e0a15Copy full SHA for 26e0a15
lib/elasticsearch/cql_grammar.js
@@ -7,9 +7,9 @@ const cql = `
7
atomic_query ::= scope " " relation " " key | key
8
scope ::= "title" | "contributor" | "keyword" | "callNumber" | "identifier" | "subject" | "language" | "date" | "center" | "format"
9
relation ::= "any" | "adj" | "=" | "==" | "within" | "encloses"
10
- key ::= NON_WS_KEY | '"' KEYPHRASE '"'
11
- KEYPHRASE ::= [^"]+
12
- NON_WS_KEY ::= [^#x20#x09#x0A#x0D"]+
+ key ::= non_ws_key | '"' keyphrase '"'
+ keyphrase ::= [^"]+
+ non_ws_key ::= [^#x20#x09#x0A#x0D"()]+
13
`
14
15
const cqlParser = new Grammars.W3C.Parser(cql)
0 commit comments