[Groonga-commit] groonga/groonga at cae75e7 [master] Fix a bug that wrong proc type is used for token filter

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 20 12:37:01 JST 2015


Kouhei Sutou	2015-10-20 12:37:01 +0900 (Tue, 20 Oct 2015)

  New Revision: cae75e721af04162386e02b115ea8f849465f733
  https://github.com/groonga/groonga/commit/cae75e721af04162386e02b115ea8f849465f733

  Message:
    Fix a bug that wrong proc type is used for token filter

  Modified files:
    lib/token_filter.c

  Modified: lib/token_filter.c (+2 -2)
===================================================================
--- lib/token_filter.c    2015-10-20 12:27:19 +0900 (c57650c)
+++ lib/token_filter.c    2015-10-20 12:37:01 +0900 (a564bdf)
@@ -1,6 +1,6 @@
 /* -*- c-basic-offset: 2 -*- */
 /*
-  Copyright(C) 2014 Brazil
+  Copyright(C) 2014-2015 Brazil
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -38,7 +38,7 @@ grn_token_filter_register(grn_ctx *ctx,
     grn_obj *token_filter_object = grn_proc_create(ctx,
                                                    plugin_name_ptr,
                                                    plugin_name_length,
-                                                   GRN_PROC_TOKENIZER,
+                                                   GRN_PROC_TOKEN_FILTER,
                                                    NULL, NULL, NULL, 0, NULL);
     if (token_filter_object == NULL) {
       GRN_PLUGIN_ERROR(ctx, GRN_TOKEN_FILTER_ERROR,
-------------- next part --------------
HTML����������������������������...
Download 



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