Showing
9 changed files
with
11 additions
and
18 deletions
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<config> | ||
3 | - <group> | ||
4 | - <property name="yohomarssearch.es.cluster.name" defaultValue="yohosearch" description="" /> | ||
5 | - <property name="yohomarssearch.es.servers" defaultValue="192.168.102.12:9300 192.168.102.13:9300" description="" /> | ||
6 | - <property name="yohomarssearch.index.number_of_replicas" defaultValue="0" description="" /> | ||
7 | - <property name="yohomarssearch.index.refresh_interval" defaultValue="10s" description="" /> | ||
8 | - <property name="yohomarssearch.index.translog.flush_threshold_ops" defaultValue="5000" description="" /> | ||
9 | - </group> | ||
10 | - <script> | ||
11 | - <generate template="META-INF/autoconf/index.xml" destfile="index.xml"/> | ||
12 | - </script> | ||
13 | -</config> |
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | <name>bizarea</name> | 11 | <name>bizarea</name> |
12 | <properties> | 12 | <properties> |
13 | <property key="number_of_shards" value="1"/> | 13 | <property key="number_of_shards" value="1"/> |
14 | - <property key="number_of_replicas" value="1"/> | 14 | + <property key="number_of_replicas" value="0"/> |
15 | <property key="refresh_interval" value="10s"/> | 15 | <property key="refresh_interval" value="10s"/> |
16 | <property key="translog.flush_threshold_ops" value="5000"/> | 16 | <property key="translog.flush_threshold_ops" value="5000"/> |
17 | </properties> | 17 | </properties> |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <name>comment</name> | 23 | <name>comment</name> |
24 | <properties> | 24 | <properties> |
25 | <property key="number_of_shards" value="1"/> | 25 | <property key="number_of_shards" value="1"/> |
26 | - <property key="number_of_replicas" value="1"/> | 26 | + <property key="number_of_replicas" value="0"/> |
27 | <property key="refresh_interval" value="10s"/> | 27 | <property key="refresh_interval" value="10s"/> |
28 | <property key="translog.flush_threshold_ops" value="5000"/> | 28 | <property key="translog.flush_threshold_ops" value="5000"/> |
29 | </properties> | 29 | </properties> |
@@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
35 | <name>line</name> | 35 | <name>line</name> |
36 | <properties> | 36 | <properties> |
37 | <property key="number_of_shards" value="1"/> | 37 | <property key="number_of_shards" value="1"/> |
38 | - <property key="number_of_replicas" value="1"/> | 38 | + <property key="number_of_replicas" value="0"/> |
39 | <property key="refresh_interval" value="10s"/> | 39 | <property key="refresh_interval" value="10s"/> |
40 | <property key="translog.flush_threshold_ops" value="5000"/> | 40 | <property key="translog.flush_threshold_ops" value="5000"/> |
41 | </properties> | 41 | </properties> |
@@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
47 | <name>store</name> | 47 | <name>store</name> |
48 | <properties> | 48 | <properties> |
49 | <property key="number_of_shards" value="1"/> | 49 | <property key="number_of_shards" value="1"/> |
50 | - <property key="number_of_replicas" value="1"/> | 50 | + <property key="number_of_replicas" value="0"/> |
51 | <property key="refresh_interval" value="10s"/> | 51 | <property key="refresh_interval" value="10s"/> |
52 | <property key="translog.flush_threshold_ops" value="5000"/> | 52 | <property key="translog.flush_threshold_ops" value="5000"/> |
53 | </properties> | 53 | </properties> |
@@ -59,7 +59,7 @@ | @@ -59,7 +59,7 @@ | ||
59 | <name>topic</name> | 59 | <name>topic</name> |
60 | <properties> | 60 | <properties> |
61 | <property key="number_of_shards" value="1"/> | 61 | <property key="number_of_shards" value="1"/> |
62 | - <property key="number_of_replicas" value="1"/> | 62 | + <property key="number_of_replicas" value="0"/> |
63 | <property key="refresh_interval" value="10s"/> | 63 | <property key="refresh_interval" value="10s"/> |
64 | <property key="translog.flush_threshold_ops" value="5000"/> | 64 | <property key="translog.flush_threshold_ops" value="5000"/> |
65 | </properties> | 65 | </properties> |
@@ -4,10 +4,16 @@ | @@ -4,10 +4,16 @@ | ||
4 | <property name="yohomars.search.service.env.namespace" defaultValue="yohomars-search" description="namespace"/> | 4 | <property name="yohomars.search.service.env.namespace" defaultValue="yohomars-search" description="namespace"/> |
5 | <property name="yohomars.search.service.env.serverport" defaultValue="7" description="port"/> | 5 | <property name="yohomars.search.service.env.serverport" defaultValue="7" description="port"/> |
6 | <property name="yohomars.search.service.env.webapphome" defaultValue="/home/test/yohomars-search-service/deploy" description="install path"/> | 6 | <property name="yohomars.search.service.env.webapphome" defaultValue="/home/test/yohomars-search-service/deploy" description="install path"/> |
7 | + <property name="yohomarssearch.es.cluster.name" defaultValue="yohosearch" description="" /> | ||
8 | + <property name="yohomarssearch.es.servers" defaultValue="192.168.102.12:9300 192.168.102.13:9300" description="" /> | ||
9 | + <property name="yohomarssearch.index.number_of_replicas" defaultValue="0" description="" /> | ||
10 | + <property name="yohomarssearch.index.refresh_interval" defaultValue="10s" description="" /> | ||
11 | + <property name="yohomarssearch.index.translog.flush_threshold_ops" defaultValue="5000" description="" /> | ||
7 | </group> | 12 | </group> |
8 | <script> | 13 | <script> |
9 | <generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/> | 14 | <generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/> |
10 | <generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/> | 15 | <generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/> |
11 | <generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/> | 16 | <generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/> |
17 | + <generate template="META-INF/autoconf/index.xml" destfile="WEB-INF/classes/index.xml"/> | ||
12 | </script> | 18 | </script> |
13 | </config> | 19 | </config> |
-
Please register or login to post a comment