Kouhei Sutou
null+****@clear*****
Wed May 11 14:23:12 JST 2016
Kouhei Sutou 2016-05-11 14:23:12 +0900 (Wed, 11 May 2016) New Revision: c71ab466aca5968717330bf8a966ae343288e4e5 https://github.com/groonga/groonga/commit/c71ab466aca5968717330bf8a966ae343288e4e5 Message: Don't care operator for index on resolving accessor Because it uses term ID directly. If term ID is known, tokenizer, normalizer and so on aren't needed. Modified files: lib/db.c Modified: lib/db.c (+4 -5) =================================================================== --- lib/db.c 2016-05-11 11:32:02 +0900 (ed370e0) +++ lib/db.c 2016-05-11 14:23:12 +0900 (5f4d4c5) @@ -3211,11 +3211,10 @@ grn_accessor_resolve_one_data_column(grn_ctx *ctx, grn_accessor *accessor, unsigned int n_index_data; grn_id next_res_domain_id = GRN_ID_NIL; - n_index_data = grn_column_find_index_data(ctx, - accessor->obj, - GRN_OP_EQUAL, - &index_datum, - 1); + n_index_data = grn_column_get_all_index_data(ctx, + accessor->obj, + &index_datum, + 1); if (n_index_data == 0) { return GRN_INVALID_ARGUMENT; } -------------- next part -------------- HTML����������������������������... 다운로드