Dear list,

a question about Solr SignatureUpdateProcessorFactory:

for (String field : sigFields) {
  SolrInputField f = doc.getField(field);
  if (f != null) {
*    sig.add(field);
    Object o = f.getValue();
    if (o instanceof String) {
      sig.add((String)o);
    } else if (o instanceof Collection) {
      for (Object oo : (Collection)o) {
        if (oo instanceof String) {
          sig.add((String)oo);
        }
      }
    }
  }
}

Why is also the field name (* above) added to the signature
and not only the content of the field?

By purpose or by accident?

I would like to suggest removing the field name from the signature and
not mixing it up.

Best regards,
Bernd

Reply via email to