A grammar and parser for Google-style searches on unstructured or semistructured data
bower install purescript-searchModule documentation is published on Pursuit.
- 
Search for everything containing the text "foo":
foo +foo - 
Search for everything not containing the text "foo":
-foo - 
Search for anything which is tagged with the
footag:#foo - 
Search for anything:
* - 
Search for anything containing text that starts with "uni":
uni* 
- 
Search for everything containing a
foofield whose value is greater than2:foo:>2 - 
Search for everything containing a
foofield whose value falls inside the range 0..2:foo:0..2 - 
Search for everything that does not contain a
foofield whose value falls inside the range 0..2:-foo:0..2 - 
Search for everything that contains a
foofield which contains abarfield which contains the textbaz:foo:bar:baz - 
Search for everything that contains a
bazfield matching the SQLLIKEpattern_foo%bar:baz:~"_foo%bar" - 
Search for everything that contains anything matching the glob pattern
?foo*bar:~?foo*bar - 
Search for everything that contains anything greater than
2:>2 - 
Search for anything containing a
foothat starts with the text "uni":foo:uni* - 
Search for anything containing a metadata attribute called
paththat contains/foo/bar:@path:/foo/bar