Authored by wangnan

fix bug

<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<property name="yohomarssearch.es.cluster.name" defaultValue="yohosearch" description="" />
<property name="yohomarssearch.es.servers" defaultValue="192.168.102.12:9300 192.168.102.13:9300" description="" />
<property name="yohomarssearch.index.number_of_replicas" defaultValue="0" description="" />
<property name="yohomarssearch.index.refresh_interval" defaultValue="10s" description="" />
<property name="yohomarssearch.index.translog.flush_threshold_ops" defaultValue="5000" description="" />
</group>
<script>
<generate template="META-INF/autoconf/index.xml" destfile="index.xml"/>
</script>
</config>
... ... @@ -11,7 +11,7 @@
<name>bizarea</name>
<properties>
<property key="number_of_shards" value="1"/>
<property key="number_of_replicas" value="1"/>
<property key="number_of_replicas" value="0"/>
<property key="refresh_interval" value="10s"/>
<property key="translog.flush_threshold_ops" value="5000"/>
</properties>
... ... @@ -23,7 +23,7 @@
<name>comment</name>
<properties>
<property key="number_of_shards" value="1"/>
<property key="number_of_replicas" value="1"/>
<property key="number_of_replicas" value="0"/>
<property key="refresh_interval" value="10s"/>
<property key="translog.flush_threshold_ops" value="5000"/>
</properties>
... ... @@ -35,7 +35,7 @@
<name>line</name>
<properties>
<property key="number_of_shards" value="1"/>
<property key="number_of_replicas" value="1"/>
<property key="number_of_replicas" value="0"/>
<property key="refresh_interval" value="10s"/>
<property key="translog.flush_threshold_ops" value="5000"/>
</properties>
... ... @@ -47,7 +47,7 @@
<name>store</name>
<properties>
<property key="number_of_shards" value="1"/>
<property key="number_of_replicas" value="1"/>
<property key="number_of_replicas" value="0"/>
<property key="refresh_interval" value="10s"/>
<property key="translog.flush_threshold_ops" value="5000"/>
</properties>
... ... @@ -59,7 +59,7 @@
<name>topic</name>
<properties>
<property key="number_of_shards" value="1"/>
<property key="number_of_replicas" value="1"/>
<property key="number_of_replicas" value="0"/>
<property key="refresh_interval" value="10s"/>
<property key="translog.flush_threshold_ops" value="5000"/>
</properties>
... ...
... ... @@ -4,10 +4,16 @@
<property name="yohomars.search.service.env.namespace" defaultValue="yohomars-search" description="namespace"/>
<property name="yohomars.search.service.env.serverport" defaultValue="7" description="port"/>
<property name="yohomars.search.service.env.webapphome" defaultValue="/home/test/yohomars-search-service/deploy" description="install path"/>
<property name="yohomarssearch.es.cluster.name" defaultValue="yohosearch" description="" />
<property name="yohomarssearch.es.servers" defaultValue="192.168.102.12:9300 192.168.102.13:9300" description="" />
<property name="yohomarssearch.index.number_of_replicas" defaultValue="0" description="" />
<property name="yohomarssearch.index.refresh_interval" defaultValue="10s" description="" />
<property name="yohomarssearch.index.translog.flush_threshold_ops" defaultValue="5000" description="" />
</group>
<script>
<generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/>
<generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/>
<generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/>
<generate template="META-INF/autoconf/index.xml" destfile="WEB-INF/classes/index.xml"/>
</script>
</config>
... ...