RE: extending StandardRequestHandler gives ClassCastException

2007-10-25 Thread Haishan Chen
org> Subject: RE: extending StandardRequestHandler > gives ClassCastException> > > : Subject: RE: extending StandardRequestHandler > gives ClassCastException> > http://people.apache.org/~hossman/#threadhijack> > > When starting a new discussion on a mailing list, please do

RE: extending StandardRequestHandler gives ClassCastException

2007-10-25 Thread Chris Hostetter
: Subject: RE: extending StandardRequestHandler gives ClassCastException http://people.apache.org/~hossman/#threadhijack When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even if you change the subject line of your

RE: extending StandardRequestHandler gives ClassCastException

2007-10-25 Thread Haishan Chen
I am a new Solr user and wonder if anyone can help me these questions. I used Solr to index about two million documents and query on it using standard request handler. I disabled all cache. I found phrase query was substantially slower than the usual query. The statistic I collected is as follo

Re: extending StandardRequestHandler gives ClassCastException

2007-10-24 Thread Geert-Jan Brits
t; http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/request/StandardRequestHandler.java > >> > http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java > >> > >> If you are subclassing S

Re: extending StandardRequestHandler gives ClassCastException

2007-10-24 Thread Doug Daniels
cene/solr/trunk/src/java/org/apache/solr/request/StandardRequestHandler.java >> http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java >> >> If you are subclassing StandardRequestHandler, make sure you are using a

Re: extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Britske
adding your class directly to it ... that *completeley* eliminates any > possibility of classpath issues and will help identify if it's some other > random problem (but it's a last resort since it makes upgrading later > hard) > > http://wiki.apache.org/solr/SolrPlug

Re: extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Britske
ryan > > -- View this message in context: http://www.nabble.com/extending-StandardRequestHandler-gives-ClassCastException-tf4594102.html#a13121575 Sent from the Solr - User mailing list archive at Nabble.com.

Re: extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Chris Hostetter
: SEVERE: java.lang.ClassCastException: : wrappt.solr.requesthandler.TopListRequestHandler cannot be cast to : org.apache.solr.request.SolrRequestHandler at : org.apache.solr.core.RequestHandlers$1.create(RequestHandlers.java:149) : added this handler to a jar called: solrRequestHandler1.jar and

Re: extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Ryan McKinley
It still seems odd that I have to include the jar, since the StandardRequestHandler should be picked up in the war right? Is this also a sign that there must be something wrong with the deployment? Note that in 1.3, the StandardRequestHandler was moved from o.a.s.request to o.a.s.handler:

Re: extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Britske
d server by getting the latest nightly build and >> getting the .jars and .war from it. >> >> Furthermore, I noticed that >> org.apache.solr.request.StandardRequestHandler >> is deprecated. Note that I'm extending >> org.apache.solr.handler.StandardRequestHandler. Is i

Re: extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Erik Hatcher
ated. Note that I'm extending org.apache.solr.handler.StandardRequestHandler. Is it possible that this has anything to do with it? with regards, Geert-Jan -- View this message in context: http://www.nabble.com/extending- StandardRequestHandler-gives-ClassCastException- tf4594102.html#a131

extending StandardRequestHandler gives ClassCastException

2007-10-09 Thread Britske
ticed that org.apache.solr.request.StandardRequestHandler is deprecated. Note that I'm extending org.apache.solr.handler.StandardRequestHandler. Is it possible that this has anything to do with it? with regards, Geert-Jan -- View this message in context: http://www.nabble.com/extending-StandardReque