[Groonga-commit] groonga/groonga [master] [suggest] chage default conditional probability threshold to 0.2 from 0.5.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 8月 18日 (木) 17:49:27 JST


Kouhei Sutou	2011-08-18 08:49:27 +0000 (Thu, 18 Aug 2011)

  New Revision: 9a9c4792eb8579a55689f194100811f4daa1fd56

  Log:
    [suggest] chage default conditional probability threshold to 0.2 from 0.5.

  Modified files:
    plugins/suggest/suggest.c

  Modified: plugins/suggest/suggest.c (+1 -1)
===================================================================
--- plugins/suggest/suggest.c    2011-08-18 08:14:04 +0000 (b7da465)
+++ plugins/suggest/suggest.c    2011-08-18 08:49:27 +0000 (c88dc9c)
@@ -156,7 +156,7 @@ cooccurrence_search(grn_ctx *ctx, grn_obj *items, grn_obj *items_boost, grn_id i
 #define DEFAULT_SORTBY          "-_score"
 #define DEFAULT_OUTPUT_COLUMNS  "_key,_score"
 #define DEFAULT_FREQUENCY_THRESHOLD 100
-#define DEFAULT_CONDITIONAL_PROBABILITY_THRESHOLD 0.5
+#define DEFAULT_CONDITIONAL_PROBABILITY_THRESHOLD 0.2
 
 static void
 output(grn_ctx *ctx, grn_obj *table, grn_obj *res, grn_id tid,




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