[Groonga-commit] groonga/groonga at 396f5e7 [master] ii: fix typos

Back to archive index

Naoya Murakami null+****@clear*****
Mon Aug 22 05:42:21 JST 2016


Naoya Murakami	2016-08-22 05:42:21 +0900 (Mon, 22 Aug 2016)

  New Revision: 396f5e75ff351a4b69e67bb66f55e19d0a3e6567
  https://github.com/groonga/groonga/commit/396f5e75ff351a4b69e67bb66f55e19d0a3e6567

  Merged e51590d: Merge pull request #597 from naoa/similar-typo

  Message:
    ii: fix typos

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+2 -2)
===================================================================
--- lib/ii.c    2016-08-21 15:17:05 +0900 (646ea7a)
+++ lib/ii.c    2016-08-22 05:42:21 +0900 (97b34ec)
@@ -7229,12 +7229,12 @@ grn_ii_similar_search(grn_ctx *ctx, grn_ii *ii,
       }
     }
     if (tid && token_cursor->curr_size) {
-      if (optarg->max_interval == GRN_OP_UNSPLIT) {
+      if (optarg->mode == GRN_OP_UNSPLIT) {
         grn_table_search(ctx, lexicon, token_cursor->curr,
                          token_cursor->curr_size,
                          GRN_OP_PREFIX, (grn_obj *)h, GRN_OP_OR);
       }
-      if (optarg->max_interval == GRN_OP_PARTIAL) {
+      if (optarg->mode == GRN_OP_PARTIAL) {
         grn_table_search(ctx, lexicon, token_cursor->curr,
                          token_cursor->curr_size,
                          GRN_OP_SUFFIX, (grn_obj *)h, GRN_OP_OR);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index