Kouhei Sutou
null+****@clear*****
Tue Nov 1 19:18:47 JST 2016
Kouhei Sutou 2016-11-01 19:18:47 +0900 (Tue, 01 Nov 2016) New Revision: 9fa0afdd645d5833d827b055080d160262f6896a https://github.com/groonga/groonga/commit/9fa0afdd645d5833d827b055080d160262f6896a Message: between: support between() in slices temporary TODO: * Add a test for the case * This case (accessor case) should be processed with index Modified files: lib/proc.c Modified: lib/proc.c (+8 -1) =================================================================== --- lib/proc.c 2016-11-01 13:20:23 +0900 (55798a0) +++ lib/proc.c 2016-11-01 19:18:47 +0900 (e122ed2) @@ -2489,8 +2489,15 @@ selector_between(grn_ctx *ctx, grn_obj *table, grn_obj *index, } if (index) { + if (index->header.type == GRN_ACCESSOR) { + /* TODO */ + } else { + index_table = grn_ctx_at(ctx, index->header.domain); + } + } + + if (index_table) { double ratio = grn_between_too_many_index_match_ratio; - index_table = grn_ctx_at(ctx, index->header.domain); use_sequential_search = selector_between_sequential_search_should_use(ctx, table, -------------- next part -------------- HTML����������������������������...Download