Fixed in 3.2 https://issues.apache.org/jira/browse/SOLR-2445
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 11. mai 2011, at 16.33, Gabriele Kahlout wrote: > Is the tagged release of solr 3.1 different from the one distributed in the > downloads page? It looks like a reproducible bug. > > svn co -r 1101526 > http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_1 solr > > This is the default query I get from > http://localhost:8080/solr/admin/form.jsp: > > http://localhost:8080/solr/select?indent=on&version=2.2&q=*%3A*&fq=&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl= > HTTP Status 400 - unknown handler: standard > ------------------------------ > > *type* Status report > > *message* *unknown handler: standard* > > *description* *The request sent by the client was syntactically incorrect > (unknown handler: standard).* > ------------------------------ > Apache Tomcat/6.0.29I get the same with > http://localhost:8080/solr/select?q=*%3A*&wt=standard&qt=standard, but not > with: > http://localhost:8080/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on > (from http://localhost:8080/solr/admin) > > (good) > <response> > − > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">5</int> > − > <lst name="params"> > <str name="indent">on</str> > <str name="start">0</str> > <str name="q">*:*</str> > <str name="rows">10</str> > <str name="version">2.2</str> > </lst> > </lst> > <result name="response" numFound="0" start="0"/> > </response> > > The > > On Thu, May 5, 2011 at 9:01 PM, Chris Hostetter > <hossman_luc...@fucit.org>wrote: > >> >> : $ xmlstarlet sel -t -c "/config/queryResponseWriter" conf/solrconfig.xml >> : <queryResponseWriter name="xml" class="org.apache.solr.request.* >> : XMLResponseWriter*" default="true"/> >> : >> : Now I comment the line in Solrconfix.xml, and there's no more writer. >> : $ xmlstarlet sel -t -c "/config/queryResponseWriter" conf/solrconfig.xml >> : >> : I make a query, and the XMLResponseWriter is still in charge. >> : *$ curl -L http://localhost:8080/solr/select?q=apache* >> : <?xml version="1.0" encoding="UTF-8"?> >> >> ... >> >> Your example request is not specifying a "wt" param. >> >> in addition to the response writers declared in your solrconfig.xml, there >> are response writers that exist implicitly unless you define your own >> instances that override those names (xml, json, python, etc...) >> >> the real question is: what writer do you *want* to have used when no wt is >> specified? >> >> whatever the answer is: declare n instance of that writer with >> default="true" in your solrconfig.xml >> >> >> -Hoss >> > > > > -- > Regards, > K. Gabriele > > --- unchanged since 20/9/10 --- > P.S. If the subject contains "[LON]" or the addressee acknowledges the > receipt within 48 hours then I don't resend the email. > subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) > < Now + 48h) ⇒ ¬resend(I, this). > > If an email is sent by a sender that is not a trusted contact or the email > does not contain a valid code then the email is not received. A valid code > starts with a hyphen and ends with "X". > ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ > L(-[a-z]+[0-9]X)).