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
29.11.2010 14:30, schrieb Bernd Fehling:
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
Bernd Fehling:
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
copyField
Could be realized without huge programming?
Best regards,
Bernd
Am 29.11.2010 14:30, schrieb Bernd Fehling:
Dear list,
a question about Solr SignatureUpdateProcessorFactory:
for (String field : sigFields) {
SolrInputField f = doc.getField(field);
if (f
and place the result in several fields.
Use copyField
Ooooh yes, you are right.
Could be realized without huge programming?
Best regards,
Bernd
Am 29.11.2010 14:30, schrieb Bernd Fehling:
Dear list,
a question about Solr SignatureUpdateProcessorFactory:
for (String field
: 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