[Groonga-commit] groonga/groonga at 036c7ac [master] token_cursor: add support for token filters on no tokenizer case

アーカイブの一覧に戻る
Kouhei Sutou null+****@clear*****
Tue Dec 25 12:39:33 JST 2018


Kouhei Sutou	2018-12-25 12:39:33 +0900 (Tue, 25 Dec 2018)

  Revision: 036c7ac59a0e184cf12aa4139ffebb02264373fb
  https://github.com/groonga/groonga/commit/036c7ac59a0e184cf12aa4139ffebb02264373fb

  Message:
    token_cursor: add support for token filters on no tokenizer case

  Modified files:
    lib/token_cursor.c

  Modified: lib/token_cursor.c (+1 -0)
===================================================================
--- lib/token_cursor.c    2018-12-25 12:17:44 +0900 (44f130dcc)
+++ lib/token_cursor.c    2018-12-25 12:39:33 +0900 (0157f44c3)
@@ -318,6 +318,7 @@ grn_token_cursor_next(grn_ctx *ctx, grn_token_cursor *token_cursor)
         }
       }
     } else {
+      grn_token_cursor_next_apply_token_filters(ctx, token_cursor);
       token_cursor->status = GRN_TOKEN_CURSOR_DONE;
     }
     if (token_cursor->mode == GRN_TOKENIZE_ADD) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181225/e1205bd4/attachment.html>


More information about the Groonga-commit mailing list
アーカイブの一覧に戻る