Have a look at
http://www.mail-archive.com/solr-user@lucene.apache.org/msg03394.html
The thread goes on to describe that just using q=*:* is efficient and
is very usefull for getting facets for browsing / navigation.
Regards,
Triggsie
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
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.