Re: Return all contents from collection

2011-01-19 Thread Erick Erickson
-user@lucene.apache.org, Dan Baughman da...@hostworks.com Subject: Re: Return all contents from collection I am building a faceted search and want the default view to show all of the facet counts. When I try submitting just a wild card like that, I get an error

Re: Return all contents from collection

2011-01-19 Thread Jonathan Rochkind
I know that this is often a performance problem -- but Erick, I am interested in the 'better solution' you hint at! There are a variety of cases where you want to 'dump' all documents from a collection. One example might be in order to build a Google SiteMap for your app that's fronting your

Return all contents from collection

2011-01-18 Thread Dan Baughman
Is there a way I can simply tell the index to return its entire record set? I tried starting and ending with just a * but no dice.

Re: Return all contents from collection

2011-01-18 Thread Erick Erickson
This is usually a bad idea, but if you really must use q=*:*start=0rows=100 Assuming that there are fewer than 1,000,000 documents in your index. And if there are more, you won't like the performance anyway. Why do you want to do this? There might be a better solution. Best Erick On

Re: Return all contents from collection

2011-01-18 Thread Dan Baughman
: Tue, 18 Jan 2011 19:47:33 -0700 To: solr-user@lucene.apache.org, Dan Baughman da...@hostworks.com Subject: Re: Return all contents from collection This is usually a bad idea, but if you really must use q=*:*start=0rows=100 Assuming that there are fewer than 1,000,000 documents in your

Re: Return all contents from collection

2011-01-18 Thread Ahmet Arslan
I am building a faceted search and want the default view to show all of the facet counts. When I try submitting just a wild card like that, I get an error. '*' or '?' not allowed as first character in WildcardQuery *:* should be just fine. It is a special match all docs query.

Re: Return all contents from collection

2011-01-18 Thread Dan Baughman
? -Original message- From: Ahmet Arslan iori...@yahoo.com Date: Tue, 18 Jan 2011 20:43:40 -0700 To: solr-user@lucene.apache.org, Dan Baughman da...@hostworks.com Subject: Re: Return all contents from collection I am building a faceted search and want the default view to show all of the facet

Re: Return all contents from collection

2011-01-18 Thread Ahmet Arslan
To: solr-user@lucene.apache.org,  Dan Baughman da...@hostworks.com Subject: Re: Return all contents from collection I am building a faceted search and want the default view to show all of the facet counts. When I try submitting just a wild card like that, I get an error