Re: Default Solr Query

2009-01-06 Thread Sandeep_metacube

Hi Bhawani'
Ur Query should be *:*.Try this and have fun.!


Bhawani Sharma 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 ?
> Please reply ASAP.
> Thanks in Advance.
> 
> Thanks:
> Bhawani Sharma
> 

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



Re: Default Solr Query

2009-01-06 Thread Shalin Shekhar Mangar
On Tue, Jan 6, 2009 at 3:09 PM, Bhawani Sharma 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.


Default Solr Query

2009-01-06 Thread Bhawani Sharma

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 ?
Please reply ASAP.
Thanks in Advance.

Thanks:
Bhawani Sharma
-- 
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.