You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ma...@apache.org on 2009/09/11 16:29:59 UTC

svn commit: r813854 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml

Author: markrmiller
Date: Fri Sep 11 14:29:59 2009
New Revision: 813854

URL: http://svn.apache.org/viewvc?rev=813854&view=rev
Log:
SOLR-1203: add an example of setting the update.processor for a given RequestHandler to update chain example

Modified:
    lucene/solr/trunk/example/solr/conf/solrconfig.xml

Modified: lucene/solr/trunk/example/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/solrconfig.xml?rev=813854&r1=813853&r2=813854&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/solrconfig.xml (original)
+++ lucene/solr/trunk/example/solr/conf/solrconfig.xml Fri Sep 11 14:29:59 2009
@@ -821,7 +821,15 @@
   <!-- An example dedup update processor that creates the "id" field on the fly
        based on the hash code of some other fields.  This example has overwriteDupes
        set to false since we are using the id field as the signatureField and Solr
-       will maintain uniqueness based on that anyway. -->
+       will maintain uniqueness based on that anyway. 
+       
+       You have to link the chain to an update handler above to use it ie:
+         <requestHandler name="/update "class="solr.XmlUpdateRequestHandler">
+           <lst name="defaults">
+             <str name="update.processor">dedupe</str>
+           </lst>
+         </requestHandler>  
+  -->
   <!--
   <updateRequestProcessorChain name="dedupe">
     <processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory">