[Groonga-commit] groonga/groonga at b28b356 [master] Fix wrong the default similarity threshold

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Sep 25 22:21:15 JST 2014


Kouhei Sutou	2014-09-25 22:21:15 +0900 (Thu, 25 Sep 2014)

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

  Message:
    Fix wrong the default similarity threshold

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -1)
===================================================================
--- lib/expr.c    2014-09-25 22:15:13 +0900 (c685fc6)
+++ lib/expr.c    2014-09-25 22:21:15 +0900 (1730e45)
@@ -4049,7 +4049,7 @@ grn_expr_get_value(grn_ctx *ctx, grn_obj *expr, int offset)
 #define DEFAULT_WEIGHT 5
 #define DEFAULT_DECAYSTEP 2
 #define DEFAULT_MAX_INTERVAL 10
-#define DEFAULT_SIMILARITY_THRESHOLD 10
+#define DEFAULT_SIMILARITY_THRESHOLD 0
 #define DEFAULT_TERM_EXTRACT_POLICY 0
 #define DEFAULT_WEIGHT_VECTOR_SIZE 4096
 
-------------- next part --------------
HTML����������������������������...
Download 



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