Re: custom updateHandler

2014-01-05 Thread itzikgili
I am facing the same issue! if i want to write some code to do the job what should i do? all you have in the link u provided is the config section of the job. -- View this message in context: http://lucene.472066.n3.nabble.com/custom-updateHandler-chain-tp4109153p4109613.html Sent from the

Re: custom updateHandler

2014-01-02 Thread Chris Hostetter
: : : KeepIndexed : : Unless you are using Solr 3.1 (or earlier) "update.processor" is a meaningless request param ... the param name you need to specify is "update.chain"... https://wiki.apache.org/solr/UpdateRequestProcessor If you can tell us where you saw i

Re: custom updateHandler

2014-01-02 Thread Shawn Heisey
On 1/2/2014 9:48 AM, elmerfudd wrote: *ok im really lost... Im trying to set a custom updatehandler then trying to index a file - but the field wont change! how come? At a quick glance, it all looks right, but I could be completely wrong about that. I made my custom update chain the

custom updateHandler

2014-01-02 Thread elmerfudd
*ok im really lost... Im trying to set a custom updatehandler ran into this: * package my.solr; //imports were here - deleted for shorting. public class myPlugin extends UpdateRequestProcessorFactory { @Override public UpdateRequestProcessor getInstance(SolrQueryRequest req

Re: Question on writing custom UpdateHandler

2011-03-01 Thread Chris Hostetter
In your first attempt, the crux of your problem was probably that you were never closing the searcher/reader. : Or how can I perform a query on the current state of the index from within an : UpdateProcessor? If you implement UpdateRequestProcessorFactory, the getInstance method is given the S

Re: Question on writing custom UpdateHandler

2011-02-25 Thread Mark
Or how can I perform a query on the current state of the index from within an UpdateProcessor? Thanks On 2/25/11 6:30 AM, Mark wrote: I am trying to write my own custom UpdateHandler that extends DirectUpdateHandler2. I would like to be able to query the current state of the index within

Question on writing custom UpdateHandler

2011-02-25 Thread Mark
I am trying to write my own custom UpdateHandler that extends DirectUpdateHandler2. I would like to be able to query the current state of the index within the addDoc method. How would I be able to accomplish this? I tried something like the following but it was a big fat fail as it quickly

Re: Pass init params into a custom UpdateHandler?

2010-04-24 Thread Chris Hostetter
: How does one do this? UpdateHandler doesn't override the init method : like SearchHandler. UpdateHandler isn't Request Handler, it's a differnet beast entirely (that wasn't as well thought out) Looking at SolreCore it looks like nothing was ever done to make it support init options, but the

Pass init params into a custom UpdateHandler?

2010-04-20 Thread Jason Rutherglen
How does one do this? UpdateHandler doesn't override the init method like SearchHandler.