0
0
bleve/index/upside_down
Marty Schoch da794d3762 fix bug introduced by reuse of TermFrequencyRow values
in a recent commit, we changed the code to reuse
TermFrequencyRow objects intsead of constantly allocating new
ones.  unfortunately, one of the original methods was not coded
with this reuse in mind, and a lazy initialization cause us to
leak data from previous uses of the same object.

in particular this caused term vector information from previous
hits to still be applied to subsequent hits.  eventually this
causes the highlighter to try and highlight invalid regions
of a slice.

fixes #404
2016-08-05 08:33:04 -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 upside_down analysis converts to docIDBytes once 2016-01-06 23:38:02 -08: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 Remove the field IDs from outside of the index 2016-07-19 20:42:45 -07:00
reader_test.go optimize Advance() with pre-allocated in-out param 2016-07-29 14:15:00 -07:00
reader.go optimize Advance() with pre-allocated in-out param 2016-07-29 14:15:00 -07: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 fix bug introduced by reuse of TermFrequencyRow values 2016-08-05 08:33:04 -04: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 optimize upside_down reader Next() with TermFieldDoc reuse 2016-07-21 11:10:49 -07:00
upside_down.go optimize termFieldVectorsFromTermVectors when empty 2016-07-21 11:46:14 -07: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