On 4-Oct-07, at 3:25 PM, Guangwei Yuan wrote:

Does Solr support empty queries? It'll be nice if Solr can return all
results if q is null. Otherwise, I guess I'll have to write a customized
request handler. Any thoughts?

The dismax handler has an "alt.q" parameter which is used as the query if the queyr string is emtpy.

To return all documents, set "alt.q=*:*"

-Mike

Reply via email to