lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar" <shalinman...@gmail.com>
Subject Re: Default Solr Query
Date Tue, 06 Jan 2009 09:55:19 GMT
On Tue, Jan 6, 2009 at 3:09 PM, Bhawani Sharma <bhawanisharma@aol.com>wrote:

>
> Hi All,
>
> I  want to fetch all the data from database.
> so what my Solr query should be to get all documents from database?
> like in mysql syntex is : SELECT * FROM table;
> so what will be the syntex of this query in solr ?


If you meant that you want all documents (i.e. without any queries or
filters), you should use q=*:*

If however you meant that you want *all* the documents inside Solr at once
(a full dump), it is probably a bad idea due to the performance issues.


>
> --
> View this message in context:
> http://www.nabble.com/Default-Solr-Query-tp21307309p21307309.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message