Skip to content

Commit

Permalink
Always allow leading wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed Feb 6, 2017
1 parent 198665c commit 9f7cac5
Show file tree
Hide file tree
Showing 5 changed files with 655 additions and 699 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ Syntax

Options that can be enabled/disabled within each query. Each option is prefixed by a `$`.

`allow_leading_wildcard`

- Allows `*` or `?` as the first character. Makes for slow queries!
- Type: bool
- Example: `$allow_leading_wildcard:true`

`sort`

- A list of fields to sort on.
Expand Down
1 change: 0 additions & 1 deletion grammar.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Setting
key:'from' SEP val:Date { return [$key, $val]; } /
key:'size' SEP val:Integer { return [$key, $val]; } /
key:'flatten' SEP val:Boolean { return [$key, $val]; } /
key:'allow_leading_wildcard' SEP val:Boolean { return [$key, $val]; } /
key:'sort' SEP '[' val:SortsSetting ']' { return [$key, $val]; } /

key:'fields' SEP '[' first:Field rest:(_ Field)* ']' { return [$key, Util::combine($first, $rest, 1)]; } /
Expand Down
Loading

0 comments on commit 9f7cac5

Please sign in to comment.