[Groonga-commit] groonga/groonga [master] [suggest][complete] fix error message.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 8月 14日 (日) 23:40:45 JST


Kouhei Sutou	2011-08-14 14:40:45 +0000 (Sun, 14 Aug 2011)

  New Revision: f28cacca3bc22155fb938dab840429a118f3699f

  Log:
    [suggest][complete] fix error message.

  Modified files:
    plugins/suggest/suggest.c

  Modified: plugins/suggest/suggest.c (+2 -2)
===================================================================
--- plugins/suggest/suggest.c    2011-08-14 14:39:33 +0000 (4144694)
+++ plugins/suggest/suggest.c    2011-08-14 14:40:45 +0000 (2de3c74)
@@ -245,10 +245,10 @@ complete(grn_ctx *ctx, grn_obj *items, grn_obj *items_boost, grn_obj *col,
             }
             grn_table_cursor_close(ctx, cur);
           } else {
-            ERR(GRN_UNKNOWN_ERROR, "cannot open cursor for pk.");
+            ERR(GRN_UNKNOWN_ERROR, "cannot open cursor for prefix RK search.");
           }
         } else {
-          ERR(GRN_UNKNOWN_ERROR, "cannot find index for prefix search.");
+          ERR(GRN_UNKNOWN_ERROR, "cannot find index for prefix RK search.");
         }
         grn_str_close(ctx, norm);
       }




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