[Groonga-commit] groonga/groonga [master] grn_ii_buffer: fix wrong weight value.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 21日 (火) 11:09:53 JST


Daijiro MORI	2012-02-21 11:09:53 +0900 (Tue, 21 Feb 2012)

  New Revision: b245b5943b3f8031665832d4f45e8ef551bf27ea

  Log:
    grn_ii_buffer: fix wrong weight value.

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+1 -0)
===================================================================
--- lib/ii.c    2012-02-21 06:54:43 +0900 (7ecadd3)
+++ lib/ii.c    2012-02-21 11:09:53 +0900 (876035b)
@@ -6577,6 +6577,7 @@ encode_postings(grn_ctx *ctx, grn_ii_buffer *ii_buffer, uint8_t *outbuf)
         counter->last_rid = rid;
         counter->last_sid = sid;
         counter->last_tf = 1;
+        counter->last_weight = weight;
         counter->last_pos = 0;
       }
       if (flags & GRN_OBJ_WITH_POSITION) {




Groonga-commit メーリングリストの案内
Back to archive index