Skip to content

Apache Lucene open-source search software

SOLR-1366 -- Clear documentation/warning in example solrconfig.xml and changelist about using a custom IndexReaderFactory with ReplicationHandler

Shalin Shekhar Mangare8f899dc2621
diff --git a/CHANGES.txt b/CHANGES.txt
index deddc4ac39d..cf96c0244cd 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -262,7 +262,9 @@ New Features
(Matthew Gregg, shalin)
60. SOLR-243: Add configurable IndexReaderFactory so that alternate IndexReader implementations
- can be specified via solrconfig.xml. (Andrzej Bialecki, hossman, Mark Miller, John Wang)
+ can be specified via solrconfig.xml. Note that using a custom IndexReader may be incompatible
+ with ReplicationHandler (see comments in SOLR-1366). This should be treated as an experimental feature.
+ (Andrzej Bialecki, hossman, Mark Miller, John Wang)
61. SOLR-1214: differentiate between solr home and instanceDir .deprecates the method SolrResourceLoader#locateInstanceDir()
and it is renamed to locateSolrHome (noble)
diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml
index fac9c37f386..056de615bd7 100755
--- a/example/solr/conf/solrconfig.xml
+++ b/example/solr/conf/solrconfig.xml
@@ -223,6 +223,17 @@
<!-- Use the following format to specify a custom IndexReaderFactory - allows for alternate
IndexReader implementations.
+
+ ** Experimental Feature **
+ Please note - Using a custom IndexReaderFactory may prevent certain other features
+ from working. The API to IndexReaderFactory may change without warning or may even
+ be removed from future releases if the problems cannot be resolved.
+
+ ** Features that may not work with custom IndexReaderFactory **
+ The ReplicationHandler assumes a disk-resident index. Using a custom
+ IndexReader implementation may cause incompatibility with ReplicationHandler and
+ may cause replication to not work correctly. See SOLR-1366 for details.
+
<indexReaderFactory name="IndexReaderFactory" class="package.class">
Parameters as required by the implementation
</indexReaderFactory >