0
0
bleve/index
Marty Schoch 27ba6187bc adds support for more complex field sorts with object (not string)
previously from JSON we would just deserialize strings like
"-abv" or "city" or "_id" or "_score" as simple sorts
on fields, ids or scores respectively

while this is simple and compact, it can be ambiguous (for
example if you have a field starting with - or if you have a field
named "_id" already.  also, this simple syntax doesnt allow us
to specify more cmoplex options to deal with type/mode/missing

we keep support for the simple string syntax, but now also
recognize a more expressive syntax like:

{
  "by": "field",
  "field": "abv",
  "desc": true,
  "type": "string",
  "mode": "min",
  "missing": "first"
}

type, mode and missing are optional and default to
"auto", "default", and "last" respectively
2016-08-17 14:33:51 -07:00
..
store enable read_only mode for boltdb indexes 2016-08-06 10:47:34 -04:00
upside_down adds support for more complex field sorts with object (not string) 2016-08-17 14:33:51 -07:00
analysis.go modify code to reuse buffer for kv generation 2015-10-05 17:49:50 -04:00
field_cache.go fix major synchronization issue in the field_cache 2015-12-15 16:39:38 -05:00
index.go change sort field impl to use indexed values not stored values 2016-08-17 09:20:44 -07:00