: > 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
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
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:
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
: 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
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:
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