Re: Custom Request handler Error:

2009-06-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
please take a look at one of the updatehandlers which are already there XmlUpdateRequestHandler CSVRequestHandler BinaryUpdateRequestHandler On Tue, Jun 16, 2009 at 1:34 PM, noor wrote: > how to create a custom update handler, to update my fields... ? > Also, how to make the update, through url, i

Re: Custom Request handler Error:

2009-06-16 Thread noor
how to create a custom update handler, to update my fields... ? Also, how to make the update, through url, i mean, http://localhost:8983/solr/update/../ like that... ??? noor wrote: Yes, i changed "custom" into "/custom", now it calls my class. But, in browser, It shows Null RequestHandl

Re: Custom Request handler Error:

2009-06-15 Thread Noor
I want Solr, to accept my custom class changes and run it. So for this, pls anyone guide me to achieve this.. noor wrote: Yes, i changed "custom" into "/custom", now it calls my class. But, in browser, It shows Null RequestHandler null. So, i need to accept my changes by solr. For that, wha

Re: Custom Request handler Error:

2009-06-13 Thread noor
Yes, i changed "custom" into "/custom", now it calls my class. But, in browser, It shows Null RequestHandler null. So, i need to accept my changes by solr. For that, what i need to do, pls guide me to acheive this. Noble Paul wrote: register is as follows the request must be made to the uri

Re: Custom Request handler Error:

2009-06-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
register is as follows the request must be made to the uri "/custom" only then the requests would come to your handler On Sat, Jun 13, 2009 at 5:49 PM, noor wrote: > Yes, i changed requestHandler name as, > > . > > Then also, > In statistics page, my custom handler under QueryHandler's requ

Re: Custom Request handler Error:

2009-06-13 Thread noor
Yes, i changed requestHandler name as, . Then also, In statistics page, my custom handler under QueryHandler's request count remains 0. It shows that, the webrequest is not coming to my class Noble Paul wrote: register your handler in some other name and fire a request to that On Fr

Re: Custom Request handler Error:

2009-06-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
register your handler in some other name and fire a request to that On Fri, Jun 12, 2009 at 8:07 PM, noor wrote: > I solved this NullPointerException, by the following changes. > > In java code: > public void handleRequestBody(SolrQueryRequest request, SolrQueryResponse > response) throws Exceptio

Re: Custom Request handler Error:

2009-06-12 Thread noor
Shalin Shekhar Mangar wrote: On Fri, Jun 12, 2009 at 8:07 PM, noor wrote: explicit tandem true Now, my webapp runs fine by, http://localhost:8983/mysearch searching also working fine. But, these are not run through my custom handler. Specify the full package to your handler cla

Re: Custom Request handler Error:

2009-06-12 Thread Shalin Shekhar Mangar
On Fri, Jun 12, 2009 at 8:07 PM, noor wrote: > > > > explicit > tandem > true > > > > Now, my webapp runs fine by, > http://localhost:8983/mysearch > searching also working fine. > But, these are not run through my custom handler. > Specify the full package to your handler class. Packages st

Re: Custom Request handler Error:

2009-06-12 Thread noor
I solved this NullPointerException, by the following changes. In java code: public void handleRequestBody(SolrQueryRequest request, SolrQueryResponse response) throws Exception { SolrCore coreToRequest = request.getCore();//coreContainer.getCore("core2"); . } and in solr-config.xml: expl

Re: Custom Request handler Error:

2009-06-12 Thread noor
Yes, Nullpointer Exception. on the line SolrCore coreToRequest = coreContainer.getCore("core2"); Noble Paul ??? ?? wrote: is there any error on the console? On Fri, Jun 12, 2009 at 4:26 PM, Noor wrote: hi, i am new to apache solr. I need to create a custom request handler class.

Re: Custom Request handler Error:

2009-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
is there any error on the console? On Fri, Jun 12, 2009 at 4:26 PM, Noor wrote: > hi, >  i am new to apache solr. > I need to create a custom request handler class. So i create a new one and > changed the solr-config.xml file as, >   >       >           explicit >           tandem >           tru