lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
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?


--  ...  October 7-8, Boston      ...  Stump The Chump!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message