Apache Nutch is an extensible and scalable web crawler
NUTCH-976 Rename properties solrindex.* to solr.*
Markus Jelsma17315263fb3a
diff --git a/CHANGES.txt b/CHANGES.txtindex 4932c1883..d9cd56d2f 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogRelease 1.3 - Current Development+* NUTCH-976 Rename properties solrindex.* to solr.* (markus)+* NUTCH-890 Fix IllegalAccessError with slf4j used in Solrj (markus)* NUTCH-891 Subcollection plugin won't require blacklist any more (markus)diff --git a/conf/nutch-default.xml b/conf/nutch-default.xmlindex 771245467..7d8d779c4 100644--- a/conf/nutch-default.xml+++ b/conf/nutch-default.xml@@ -1024,8 +1024,9 @@</property><!-- solr index properties -->+<property>- <name>solrindex.mapping.file</name>+ <name>solr.mapping.file</name><value>solrindex-mapping.xml</value><description>Defines the name of the file that will be used in the mapping of internal@@ -1033,4 +1034,14 @@</description></property>+<property>+ <name>solr.commit.size</name>+ <value>1000</value>+ <description>+ Defines the number of documents to send to Solr in a single update batch.+ Decrease when handling very large documents to prevent Nutch from running+ out of memory.+ </description>+</property>+</configuration>diff --git a/src/java/org/apache/nutch/indexer/solr/SolrConstants.java b/src/java/org/apache/nutch/indexer/solr/SolrConstants.javaindex bd5ce3523..56559dca9 100644--- a/src/java/org/apache/nutch/indexer/solr/SolrConstants.java+++ b/src/java/org/apache/nutch/indexer/solr/SolrConstants.java@@ -22,6 +22,8 @@ public interface SolrConstants {public static final String SERVER_URL = SOLR_PREFIX + "server.url";public static final String COMMIT_SIZE = SOLR_PREFIX + "commit.size";++ public static final String MAPPING_FILE = SOLR_PREFIX + "mapping.file";public static final String ID_FIELD = "id";