RE: MatchAllDocsQuery in solr?

2006-11-28 Thread Fuad Efendi
Sorry, Hoss already wrote (even better solution): >...if you use the uniqueKey feature, then you can do id:[* TO *] ... that >acctually works on any field to find all docs... Fuad wrote: >Define a field abcd with constant value >'abcd' for all documents (choose value not listed in any 'stop-word'

Re: MatchAllDocsQuery in solr?

2006-11-28 Thread Yonik Seeley
FYI, I committed the Lucene patch that allows the *:* syntax today. It will be available in Solr when we do another lucene sync-up. -Yonik

RE: MatchAllDocsQuery in solr?

2006-11-28 Thread Fuad Efendi
Workaround == Define a field abcd with constant value 'abcd' for all documents (choose value not listed in any 'stop-word' etc.). Lucene query 'scan_all:abcd' will retrieve 'all' documents. Enjoy! -Original Message- From: Tom Sent: Tuesday, November 21, 2006 5:08 PM To: solr-use

Re: MatchAllDocsQuery in solr?

2006-11-27 Thread Chris Hostetter
: >It would would be really cool is if you could say something like... : > : > field:[low TO high]^0 other clauses XXX^0 : > : >...and SolrIndexSearcher recognised that teh score contributions from the : >range query and the XXX TermQuery weren't going to contribute to the : >score, so it

Re: MatchAllDocsQuery in solr?

2006-11-27 Thread Tom
At 03:18 PM 11/21/2006, Hoss wrote: It would would be really cool is if you could say something like... field:[low TO high]^0 other clauses XXX^0 ...and SolrIndexSearcher recognised that teh score contributions from the range query and the XXX TermQuery weren't going to contribute to

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Yonik Seeley
On 11/21/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: I looked into it quick, and it looks like the grammar may need to be modified (i.e., one can't just override a method of QueryParser to do this). Done, but not yet committed in Lucene: http://issues.apache.org/jira/browse/LUCENE-723 -Yonik

RE: MatchAllDocsQuery in solr?

2006-11-21 Thread Fuad Efendi
>Is there a way to do a match all docs query in solr? Why do you need to perform full index search in order to find all indexed documents? We need additional XML-Admin-API, but it is different type of a 'query in solr' - no need for analyzer, tokenizer, etc.

RE: MatchAllDocsQuery in solr?

2006-11-21 Thread Fuad Efendi
Underwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 6:24 PM To: solr-user@lucene.apache.org Subject: Re: MatchAllDocsQuery in solr? On 11/21/06 3:19 PM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote: > > : > I've considered *:* but I haven't

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Chris Hostetter
: I thought about a range query on the ID, but was wondering what the : implications were for a large range query. (e.g. Number of docs > : maxBooleanClauses). But this approach will work for me, as my test : indicies are generally small. those problems don't exist in Solr, because Solr's QueryPa

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Tom
Thanks for the quick response. I thought about a range query on the ID, but was wondering what the implications were for a large range query. (e.g. Number of docs > maxBooleanClauses). But this approach will work for me, as my test indicies are generally small. For a large data set, would it

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Yonik Seeley
On 11/21/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 11/21/06, Tom <[EMAIL PROTECTED]> wrote: > Is there a way to do a match all docs query in solr? > > I mean is there something I can put in a solr URL that will get > recognized by the SolrQueryParser as meaning a "match all"? No, but there

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Chris Hostetter
: > I mean is there something I can put in a solr URL that will get : > recognized by the SolrQueryParser as meaning a "match all"? : : No, but there should be. if you use the uniqueKey feature, then you can do id:[* TO *] ... that acctually works on any field to find all docs that have "a" value

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Yonik Seeley
On 11/21/06, Tom <[EMAIL PROTECTED]> wrote: Is there a way to do a match all docs query in solr? I mean is there something I can put in a solr URL that will get recognized by the SolrQueryParser as meaning a "match all"? No, but there should be. I've considered *:* but I haven't checked if th

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Walter Underwood
On 11/21/06 3:19 PM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote: > > : > I've considered *:* but I haven't checked if the JavaCC grammar will > : > allow that through or if it would need to be modified. > : > : I looked into it quick, and it looks like the grammar may need to be > : modified (i.e

Re: MatchAllDocsQuery in solr?

2006-11-21 Thread Walter Lewis
Walter Underwood wrote: I was thinking something similar, maybe _solr:all. At Infoseek, we hardcoded url:http to match all docs. I suppose that different data would yield different responses but a space (" ") works on our data. the other Walter