[ 
https://issues.apache.org/jira/browse/SOLR-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bernd Fehling updated SOLR-2258:
--------------------------------

    Attachment: SOLR-2258.patch

patch added.
Defaults to "addfieldsNames" to "true".

To omit "fields" names in signature add the following line to the configuration 
segment in solrconfig.xml:
<bool name="addfieldsNames">false</bool>

Example:
  <updateRequestProcessorChain name="dedupe">
    <processor 
class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory">
      <bool name="enabled">true</bool>
      <str name="signatureField">id</str>
      <bool name="overwriteDupes">false</bool>
      <str name="fields">name,features,cat</str>
      <bool name="addfieldsNames">false</bool>
      <str 
name="signatureClass">org.apache.solr.update.processor.Lookup3Signature</str>
    </processor>
    <processor class="solr.LogUpdateProcessorFactory" />
    <processor class="solr.RunUpdateProcessorFactory" />
  </updateRequestProcessorChain>



> adding FieldsNames by configuration for SignatureUpdateProcessorFactory
> -----------------------------------------------------------------------
>
>                 Key: SOLR-2258
>                 URL: https://issues.apache.org/jira/browse/SOLR-2258
>             Project: Solr
>          Issue Type: Wish
>            Reporter: Bernd Fehling
>            Priority: Trivial
>             Fix For: 1.4
>
>         Attachments: SOLR-2258.patch
>
>
> I would like to suggest having the "fields" names from configuration added to 
> signature by configuration with default to true.
> There are usecases where only the signature of the content is required.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to