Re: UpdateRequestProcessorFactory / Chain etc

2008-09-07 Thread Chris Hostetter
: > Hm... I seem to be having trouble getting either the Factory or the : > Processor to do an init() for me. The UpdateRequestProcessor API doesn't have an init() method, but the UpdateRequestProcessorFactory API definitely does, and i can see it getting called. are you sure you are overridin

Re: UpdateRequestProcessorFactory / Chain etc

2008-09-07 Thread Brian Whitman
On Sep 7, 2008, at 2:04 PM, Brian Whitman wrote: Hm... I seem to be having trouble getting either the Factory or the Processor to do an init() for me. The end result I'd like to see is a function that gets called only once, either on solr init or the first time the handler is called. I

Re: UpdateRequestProcessorFactory / Chain etc

2008-09-07 Thread Brian Whitman
Hm... I seem to be having trouble getting either the Factory or the Processor to do an init() for me. The end result I'd like to see is a function that gets called only once, either on solr init or the first time the handler is called. I can't seem to do that. I have these two classes:

Re: UpdateRequestProcessorFactory / Chain etc

2008-09-06 Thread Shalin Shekhar Mangar
On Sun, Sep 7, 2008 at 11:00 AM, Chris Hostetter <[EMAIL PROTECTED]>wrote: > > inform, no ... but the factories should be getting instantiated during > SolrCore init, what makes you think it's not until first use? (that would > be a bug if it's true, but a quick skim of SolrCore suggests it shoul

Re: UpdateRequestProcessorFactory / Chain etc

2008-09-06 Thread Chris Hostetter
: And then calls to /update2 will go through the chain. Calls to /update will : not. Correct. Note also that there is also a "default" attribute you can put on one UpdateProcesserChain and then XmlUpdateRequestHandler (etc...) will use that even if you don't tell them to use a particular chain

Re: UpdateRequestProcessorFactory / Chain etc

2008-09-06 Thread Brian Whitman
Answered my own qs, I think: Trying to build a simple UpdateRequestProcessor that keeps a field (the time of original index) when overwriting a document. 1) Can I make a updateRequestProcessor chain only work as a certain handler or does putting the following in my solrconfig.xml:

UpdateRequestProcessorFactory / Chain etc

2008-09-06 Thread Brian Whitman
Trying to build a simple UpdateRequestProcessor that keeps a field (the time of original index) when overwriting a document. 1) Can I make a updateRequestProcessor chain only work as a certain handler or does putting the following in my solrconfig.xml: Just handle all docu