0
0
bleve/index/upside_down
Marty Schoch 5aa9e95468 major refactor of index/search API
index id's are now opaque (until finally returned to top-level user)
 - the TermFieldDoc's returned by TermFieldReader no longer contain doc id
 - instead they return an opaque IndexInternalID
 - items returned are still in the "natural index order"
 - but that is no longer guaranteed to be "doc id order"
 - correct behavior requires that they all follow the same order
 - but not any particular order

 - new API FinalizeDocID which converts index internal ID's to public string ID

 - APIs used internally which previously took doc id now take IndexInternalID
     - that is DocumentFieldTerms() and DocumentFieldTermsForFields()
 - however, APIs that are used externally do not reflect this change
     - that is Document()

 - DocumentIDReader follows the same changes, but this is less obvious
     - behavior clarified, used to iterate doc ids, BUT NOT in doc id order
     - method STILL available to iterate doc ids in range
     - but again, you won't get them in any meaningful order
     - new method to iterate actual doc ids from list of possible ids
         - this was introduced to make the DocIDSearcher continue working

searchers now work with the new opaque index internal doc ids
 - they return new DocumentMatchInternal (which does not have string ID)
scorerers also work with these opaque index internal doc ids
 - they return DocumentMatchInternal (which does not have string ID)
collectors now also perform a final step of converting the final result
 - they STILL return traditional DocumentMatch (with string ID)
 - but they now also require an IndexReader (so that they can do the conversion)
2016-07-31 13:46:18 -04:00
..
analysis_test.go copy locations on merge for more safe/predictable behavior 2016-01-19 14:21:48 -05:00
analysis.go fix typos 2016-04-02 21:59:30 -04:00
benchmark_all.sh refactor of kvstore api to support native merge in rocksdb 2015-04-24 17:13:50 -04:00
benchmark_boltdb_test.go major kvstore interface and impl overhaul 2015-09-23 11:25:47 -07:00
benchmark_common_test.go major kvstore interface and impl overhaul 2015-09-23 11:25:47 -07:00
benchmark_cznicb_test.go major refactor of bleve configuration 2015-09-16 17:10:59 -04:00
benchmark_forestdb_test.go fix benchmarks for the x kvstores 2015-10-09 11:09:42 -04:00
benchmark_goleveldb_test.go major kvstore interface and impl overhaul 2015-09-23 11:25:47 -07:00
benchmark_gorocksdb_test.go fix benchmarks for the x kvstores 2015-10-09 11:09:42 -04:00
benchmark_gtreap_test.go major kvstore interface and impl overhaul 2015-09-23 11:25:47 -07:00
benchmark_leveldb_test.go fix benchmarks for the x kvstores 2015-10-09 11:09:42 -04:00
benchmark_null_test.go major kvstore interface and impl overhaul 2015-09-23 11:25:47 -07:00
dump_test.go gofmt simplifications 2016-04-02 21:54:33 -04:00
dump.go major refactor of index/search API 2016-07-31 13:46:18 -04:00
field_dict_test.go fix errcheck issues 2015-10-19 14:27:03 -04:00
field_dict.go major kvstore interface and impl overhaul 2015-09-23 11:25:47 -07:00
index_reader.go major refactor of index/search API 2016-07-31 13:46:18 -04:00
reader_test.go major refactor of index/search API 2016-07-31 13:46:18 -04:00
reader.go major refactor of index/search API 2016-07-31 13:46:18 -04:00
row_merge_test.go fix row merging bug 2015-05-06 11:00:04 -04:00
row_merge.go fix row merging bug 2015-05-06 11:00:04 -04:00
row_test.go gofmt simplifications 2016-04-02 21:54:33 -04:00
row.go optimize upside_down reader & 64-bit struct alignments 2016-07-23 10:37:40 -07:00
stats.go moved fields requiring 64-bit alignment to start of struct 2016-03-20 10:38:28 -04:00
upside_down_test.go major refactor of index/search API 2016-07-31 13:46:18 -04:00
upside_down.go major refactor of index/search API 2016-07-31 13:46:18 -04:00
upside_down.pb.go faster protobufs with gogo 2015-08-12 13:18:23 -04:00
upside_down.proto major change to fields 2014-08-19 08:58:26 -04:00