lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: missing "q" gives 500 error
Date Thu, 09 Sep 2010 18:17:47 GMT

: Hitting http://localhost:8983/solr/select without a "q" gives a 500
: error (it should at least be a 400 error - bad request).

is this the same error as SOLR-2001?

: Or, should we define the query parser such that if the query is null
: that it yields a query that matches nothing (i.e. an empty boolean
: query)?

I don't think so ... that's what q.alt is for.

: The latter both avoids an error, and seems more useful if you are
: using a component that may not even need the main query.
: Thoughts?

if you don't need the main query, then shouldn't you configure 
SearchHandler w/o the "query" component?

-Hoss

--
http://lucenerevolution.org/  ...  October 7-8, Boston
http://bit.ly/stump-hoss      ...  Stump The Chump!


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message