SOLR-1203: add an example of setting the update.processor for a given RequestHandler to update chain example

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@813854 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2009-09-11 14:29:59 +00:00
parent 70fe600134
commit 59c59cf3f4
1 changed files with 9 additions and 1 deletions

View File

@ -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">