This is an automated email from the ASF dual-hosted git repository.

snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git

commit 5ccebc95b807353c4e4628b576a1c0d17818ab5d
Author: Nicola Marcacci Rossi <[email protected]>
AuthorDate: Fri Dec 15 09:47:20 2017 +0100

    add languages to default config
---
 conf/nutch-default.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index 5e8606f..a53cf7b 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -2110,6 +2110,18 @@ visit 
https://wiki.apache.org/nutch/SimilarityScoringFilter-->
 </property>
 
 <property>
+    <name>elastic.rest.languages</name>
+    <value></value>
+    <description>
+        A list of strings denoting the supported languages (e.g. 
`en,de,fr,it`).
+        If this value is empty all documents will be sent to index 
${elastic.rest.index}.
+        If not empty the Rest client will distribute documents in different 
indices based on their `lang` property.
+        Indices are named with the following schema: 
${elastic.rest.index}_${lang} (e.g. `nutch_de`).
+        Entries with an unsupported `lang` value will be added to index 
${elastic.rest.index}_others (e.g. `nutch_others`).
+    </description>
+</property>
+
+<property>
     <name>elastic.rest.type</name>
     <value>doc</value>
     <description>Default type to send documents to.</description>

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to