mirror of https://github.com/apache/lucene.git
SOLR-4916: Merge out separate hdfs solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df8e15a93b
commit
7dc5d67fe4
|
@ -40,7 +40,7 @@
|
|||
<!-- ========================================================================= -->
|
||||
|
||||
<target name="example" description="Creates a runnable example configuration."
|
||||
depends="dist-contrib,dist-war,setup-alt-examples">
|
||||
depends="dist-contrib,dist-war">
|
||||
<copy file="${dist}/${fullnamever}.war"
|
||||
tofile="${example}/webapps/${ant.project.name}.war"/>
|
||||
<jar destfile="${example}/exampledocs/post.jar"
|
||||
|
@ -56,15 +56,6 @@
|
|||
<echo>See ${example}/README.txt for how to run the Solr example configuration.</echo>
|
||||
</target>
|
||||
|
||||
<target name="setup-alt-examples">
|
||||
<copy todir="${example}/hdfs" overwrite="true">
|
||||
<fileset dir="${example}/solr"/>
|
||||
</copy>
|
||||
<copy todir="${example}/hdfs/collection1/conf" overwrite="true">
|
||||
<fileset dir="${example}/alt-configs/hdfs"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="run-example" depends="example"
|
||||
description="Run Solr interactively, via Jetty. -Dexample.debug=true to enable JVM debugger">
|
||||
<property name="example.solr.home" location="example/solr"/>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -184,7 +184,8 @@
|
|||
maxBufferedDocs sets a limit on the number of documents buffered
|
||||
before flushing.
|
||||
If both ramBufferSizeMB and maxBufferedDocs is set, then
|
||||
Lucene will flush based on whichever limit is hit first. -->
|
||||
Lucene will flush based on whichever limit is hit first.
|
||||
The default is 100 MB. -->
|
||||
<!-- <ramBufferSizeMB>100</ramBufferSizeMB> -->
|
||||
<!-- <maxBufferedDocs>1000</maxBufferedDocs> -->
|
||||
|
||||
|
@ -365,7 +366,7 @@
|
|||
have some sort of hard autoCommit to limit the log size.
|
||||
-->
|
||||
<autoCommit>
|
||||
<maxTime>15000</maxTime>
|
||||
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
|
||||
<openSearcher>false</openSearcher>
|
||||
</autoCommit>
|
||||
|
||||
|
@ -374,11 +375,10 @@
|
|||
but does not ensure that data is synced to disk. This is
|
||||
faster and more near-realtime friendly than a hard commit.
|
||||
-->
|
||||
<!--
|
||||
<autoSoftCommit>
|
||||
<maxTime>1000</maxTime>
|
||||
</autoSoftCommit>
|
||||
-->
|
||||
|
||||
<autoSoftCommit>
|
||||
<maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
|
||||
</autoSoftCommit>
|
||||
|
||||
<!-- Update Related Event Listeners
|
||||
|
||||
|
|
Loading…
Reference in New Issue