[Groonga-commit] groonga/groonga at 8b51880 [master] groonga-httpd: support customizing by environment variable

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 22 16:43:42 JST 2016


Kouhei Sutou	2016-04-22 16:43:42 +0900 (Fri, 22 Apr 2016)

  New Revision: 8b51880a6bc7711e8210be68c889e3c5a8044198
  https://github.com/groonga/groonga/commit/8b51880a6bc7711e8210be68c889e3c5a8044198

  Message:
    groonga-httpd: support customizing by environment variable

  Copied files:
    data/systemd/centos/sysconfig/groonga-httpd
      (from data/init.d/centos/sysconfig/groonga-httpd)
  Modified files:
    data/groonga-httpd.conf.in
    data/init.d/centos/sysconfig/groonga-httpd
    data/systemd/centos/sysconfig/Makefile.am

  Modified: data/groonga-httpd.conf.in (+7 -0)
===================================================================
--- data/groonga-httpd.conf.in    2016-04-22 16:27:10 +0900 (811e198)
+++ data/groonga-httpd.conf.in    2016-04-22 16:43:42 +0900 (7977d23)
@@ -5,6 +5,13 @@ pid @GROONGA_HTTPD_PID_PATH@;
 # run as root.
 user groonga groonga;
 
+env GRN_IN_VALUES_TOO_MANY_INDEX_MATCH_RATIO
+env GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO
+env GRN_II_CURSOR_SET_MIN_ENABLE
+env GRN_INDEX_CHUNK_SPLIT_ENABLE
+env GRN_MECAB_CHUNKED_TOKENIZE_ENABLED
+env GRN_MECAB_CHUNK_SIZE_THRESHOLD
+
 events {
   worker_connections 1024;
 }

  Modified: data/init.d/centos/sysconfig/groonga-httpd (+4 -2)
===================================================================
--- data/init.d/centos/sysconfig/groonga-httpd    2016-04-22 16:27:10 +0900 (2bacec3)
+++ data/init.d/centos/sysconfig/groonga-httpd    2016-04-22 16:43:42 +0900 (80d8a61)
@@ -2,8 +2,10 @@
 #GROONGA_HTTPD_ARGS=""
 #GRN_IN_VALUES_TOO_MANY_INDEX_MATCH_RATIO=0.01
 #GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO=0.01
-# Set 1 to enable skipping posting list
-#GRN_II_CURSOR_SET_MIN_ENABLE=0
+# Define this variable to enable skipping posting list
+#GRN_II_CURSOR_SET_MIN_ENABLE=yes
+# Define this variable to enable chunk split on offline index construction
+#GRN_INDEX_CHUNK_SPLIT_ENABLE=yes
 # Set "yes" to enable chunked tokenize feature
 #GRN_MECAB_CHUNKED_TOKENIZE_ENABLED=no
 # Set the threshold value for chunk size (default: 8192)

  Modified: data/systemd/centos/sysconfig/Makefile.am (+4 -1)
===================================================================
--- data/systemd/centos/sysconfig/Makefile.am    2016-04-22 16:27:10 +0900 (6d33ae1)
+++ data/systemd/centos/sysconfig/Makefile.am    2016-04-22 16:43:42 +0900 (2f5778e)
@@ -1,4 +1,7 @@
-data = groonga-server-http groonga-server-gqtp
+data =						\
+	groonga-httpd				\
+	groonga-server-http			\
+	groonga-server-gqtp
 
 if CENTOS_SYSTEMD_PLATFORM
 sysconfigdir = $(sysconfdir)/sysconfig

  Copied: data/systemd/centos/sysconfig/groonga-httpd (+4 -3) 58%
===================================================================
--- data/init.d/centos/sysconfig/groonga-httpd    2016-04-22 16:27:10 +0900 (2bacec3)
+++ data/systemd/centos/sysconfig/groonga-httpd    2016-04-22 16:43:42 +0900 (f5f287b)
@@ -1,9 +1,10 @@
 # Default
-#GROONGA_HTTPD_ARGS=""
 #GRN_IN_VALUES_TOO_MANY_INDEX_MATCH_RATIO=0.01
 #GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO=0.01
-# Set 1 to enable skipping posting list
-#GRN_II_CURSOR_SET_MIN_ENABLE=0
+# Define this variable to enable skipping posting list
+#GRN_II_CURSOR_SET_MIN_ENABLE=yes
+# Define this variable to enable chunk split on offline index construction
+#GRN_INDEX_CHUNK_SPLIT_ENABLE=yes
 # Set "yes" to enable chunked tokenize feature
 #GRN_MECAB_CHUNKED_TOKENIZE_ENABLED=no
 # Set the threshold value for chunk size (default: 8192)
-------------- next part --------------
HTML����������������������������...
Télécharger 



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