Re: question about Solr SignatureUpdateProcessorFactory

2010-11-30 Thread Bernd Fehling
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

Re: question about Solr SignatureUpdateProcessorFactory

2010-11-29 Thread Bernd Fehling
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

Re: question about Solr SignatureUpdateProcessorFactory

2010-11-29 Thread Erick Erickson
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

Re: question about Solr SignatureUpdateProcessorFactory

2010-11-29 Thread Markus Jelsma
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

Re: question about Solr SignatureUpdateProcessorFactory

2010-11-29 Thread Bernd Fehling
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

Re: question about Solr SignatureUpdateProcessorFactory

2010-11-29 Thread Chris Hostetter
: 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