Hi list,

I am not sure whether this behaviour is intended or not.

I am experimenting with the UpdateRequestProcessor-feature of Solr (V: 1.4)
and there occured something I find strange.

Well, when I send csv-data to the CSV-UpdateHandler with some fields
specified that are not part of the Schema, the input isn't passed up to the
UpdateRequestProcessor-Chain. 

Here is some code from my UpdateRequestProcessor:

        @Override
        public void processAdd(AddUpdateCommand cmd) throws IOException {
                 super.processAdd(cmd);
                 throw new IOException("HelloWorld");
         }

Well, this processor makes truely no sense, but I wanted to see whether it
is called or not and it seems like it won't get called anyway.

My clients gets back messages like "undefined field MyID" - yes, "MyID"
isn't specified. 

For example:
If I want to build a field "hash" from "MyID" and removing "MyID" afterwards
from the InputDocument, I will never get the chance to do so if the
Processor isn't called anyway.

Is this intended or am I doing something wrong here?

Regards
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/UpdateHandler-Bug-or-intended-feature-tp2389382p2389382.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to