27ba6187bc
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 |
||
---|---|---|
.. | ||
analysis_test.go | ||
analysis.go | ||
benchmark_all.sh | ||
benchmark_boltdb_test.go | ||
benchmark_common_test.go | ||
benchmark_cznicb_test.go | ||
benchmark_forestdb_test.go | ||
benchmark_goleveldb_test.go | ||
benchmark_gorocksdb_test.go | ||
benchmark_gtreap_test.go | ||
benchmark_leveldb_test.go | ||
benchmark_null_test.go | ||
dump_test.go | ||
dump.go | ||
field_dict_test.go | ||
field_dict.go | ||
index_reader.go | ||
reader_test.go | ||
reader.go | ||
row_merge_test.go | ||
row_merge.go | ||
row_test.go | ||
row.go | ||
stats.go | ||
upside_down_test.go | ||
upside_down.go | ||
upside_down.pb.go | ||
upside_down.proto |