Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fix for NUTCH-1986 Clarify Elastic Search Indexer Plugin Settings contributed by Michael Joyce <[email protected]> this closes #17.

Chris Mattmann75ffa813b4f0
diff --git a/CHANGES.txt b/CHANGES.txt
index e333ba08e..f7e0d3984 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
Nutch Current Development 1.10-SNAPSHOT
+* NUTCH-1986 Clarify Elastic Search Indexer Plugin Settings (Michael Joyce via mattmann)
+
* NUTCH-1906 Typo in CrawlDbReader command line help (Michael Joyce via mattmann)
* NUTCH-1911 Imeprove DomainStatistics tool command line parsing (Michael Joyce via mattmann)
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index 76d070cc3..30be25b43 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -1573,22 +1573,32 @@
<property>
<name>elastic.host</name>
- <value></value>
- <description>The hostname to send documents to using TransportClient. Either host
- and port must be defined or cluster.</description>
+ <value>localhost</value>
+ <description>
+ The hostname to send documents to using TransportClient. Either host
+ and port must be defined or cluster to connect.
+ </description>
</property>
<property>
<name>elastic.port</name>
- <value>9300</value>The port to connect to using TransportClient.<description>
+ <value>9300</value>
+ <description>
+ The port to connect to using TransportClient. Note, the default port
+ for HTTP is 9200. The TransportClient port is NOT the same. By default
+ it should be 9300.
</description>
</property>
<property>
<name>elastic.cluster</name>
- <value></value>
- <description>The cluster name to discover. Either host and potr must be defined
- or cluster.</description>
+ <value>elasticsearch</value>
+ <description>
+ The cluster name to discover. Either host and port must be defined
+ or cluster. The default Elasticsearch cluster name is 'elasticsearch'. If
+ yours is different be sure to update this value even if you specified a host
+ and port for connection otherwise you may encounter issues.
+ </description>
</property>
<property>