Filter DSL
One filter string, GitHub-search-style. AND binds tighter than OR;-x or NOT x for negation; comma-lists scope to one predicate; tag@evidence requires evidence ≥ low/medium/high. No substring search (intentional).
Live tester
no auth required for /explore
Examples
Grammar
filter := orExpr
orExpr := andExpr ("OR" andExpr)*
andExpr := notExpr (("AND")? notExpr)* # whitespace = implicit AND
notExpr := ("NOT" | "-") notExpr | atom
atom := "(" filter ")" | predicate
predicate:= IDENT op valueOrList
op := ":" | "=" | ">=" | "<=" | ">" | "<"
valueOrList := value ("," value)*
value := IDENT | NUMBER | tagAtEvidence
tagAtEvidence := IDENT "@" ("low"|"medium"|"high")Field catalog
loading…