Name: purescript-search
Owner: SlamData, Inc.
Description: A grammar and parser for Google-style searches on unstructured or semi-structured data.
Created: 2015-02-17 15:19:39.0
Updated: 2017-03-22 02:35:11.0
Pushed: 2017-04-11 20:12:57.0
Homepage: null
Size: 83
Language: PureScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A grammar and parser for Google-style searches on unstructured or semistructured data
r install purescript-search
Module documentation is published on Pursuit.
Search for everything containing the text “foo”:
Search for everything not containing the text “foo”:
Search for anything which is tagged with the foo
tag:
Search for anything:
Search for anything containing text that starts with “uni”:
Search for everything containing a foo
field whose value is greater than 2
:
>2
Search for everything containing a foo
field whose value falls inside the range 0..2:
0..2
Search for everything that does not contain a foo
field whose value falls inside the range 0..2:
:0..2
Search for everything that contains a foo
field which contains a bar
field which contains the text baz
:
bar:baz
Search for everything that contains a baz
field matching the SQL LIKE
pattern _foo%bar
:
~"_foo%bar"
Search for everything that contains anything matching the glob pattern ?foo*bar
:
o*bar
Search for everything that contains anything greater than 2
:
Search for anything containing a foo
that starts with the text “uni”:
uni*
Search for anything containing a metadata attribute called path
that contains /foo/bar
:
h:/foo/bar