solr-query-maker
Advanced tools
Changelog
2.0.0 (2019-08-08)
io-ts
codecs for greater type safety. (df42e51)Primitive
is now always an object, with an explicit type for its enclosed value.Range<T>
limited to range-able types only - namely numbers, strings, and dates and carries the type of its bounds (valueType
).Spatial
is no longer a generic type, but instead has op
and geom
properties inside its value
.Clause
type now enforces that its child terms have a single primitive type.Glob
literals only allowed for strings and dates.TermValue
s are no longer Clause
s. A new type QueryElement
is the union of Clause
and all TermValue
types.