: Why is also the field name (* above) added to the signature
: and not only the content of the field?
: 
: By purpose or by accident?

It was definitely deliberate.  This way if your signature fields are 
"fieldA,fieldB,fieldC" then these two documents...

        Doc1:fielda:XXX
        Doc1:fieldB:YYY

        Doc2:fieldB:XXX
        Doc2:fieldC:YYY

...don't wind up with identical signature alues

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

As mentioned, in the typical case it's important that the field names be 
included in the signature, but i imagine there would be cases where you 
wouldn't want them included (like a simple concat Signature for building 
basic composite keys)

I think the Signature API could definitely be enhanced to have additional 
methods for adding field names vs adding field values.

wanna open an issue in Jira sith some suggestions and use cases?


-Hoss

Reply via email to