Module

Text.SlamSearch.Types

Package
purescript-search
Repository
slamdata/purescript-search

#SearchQuery Source

type SearchQuery = Free Term

SearchQuery is free semiring on Term where AND operation is * and OR is +

#Term Source

newtype Term

Constructors

Instances

#Label Source

data Label

Label type "foo:bar" -→ Common (Text "foo"), "@foo:bar" -→ Meta (Text "foo")

Constructors

Instances

#Value Source

data Value

Value type "foo:bar" -→ Text "bar" "foo:#bar" -→ Tag "bar"

Constructors

Instances