Author: ferdy
Date: Fri Aug  3 15:06:57 2012
New Revision: 1369013

URL: http://svn.apache.org/viewvc?rev=1369013&view=rev
Log:
NUTCH-1445 Add ElasticIndexerJob that indexes to elasticsearch 
(addPropsToConfig)

Modified:
    nutch/branches/2.x/conf/nutch-default.xml

Modified: nutch/branches/2.x/conf/nutch-default.xml
URL: 
http://svn.apache.org/viewvc/nutch/branches/2.x/conf/nutch-default.xml?rev=1369013&r1=1369012&r2=1369013&view=diff
==============================================================================
--- nutch/branches/2.x/conf/nutch-default.xml (original)
+++ nutch/branches/2.x/conf/nutch-default.xml Fri Aug  3 15:06:57 2012
@@ -1126,6 +1126,34 @@
   </description>
 </property>
 
+<!-- elasticsearch index properties -->
+
+<property>
+  <name>elastic.index</name>
+  <value>index</value>
+  <description>
+  The name of the elasticsearch index. Will normally be autocreated if it
+  doesn't exist.
+  </description>
+</property>
+
+<property>
+  <name>elastic.max.bulk.docs</name>
+  <value>500</value>
+  <description>
+  The number of docs in the batch that will trigger a flush to elasticsearch.
+  </description>
+</property>
+
+<property>
+  <name>elastic.max.bulk.size</name>
+  <value>5001001</value>
+  <description> 
+  The total length of all indexed text in a batch that will trigger a flush to
+  elasticsearch, by checking after every document for excess of this amount.
+  </description>
+</property>
+
 <!-- storage properties -->
 
 <property>


Reply via email to