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-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-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

MatchAllDocsQuery in solr?

2006-11-21 Thread Tom
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? Why? Because I'm porting unit tests from our internal Lucene container to Solr, and the tests usually run such a

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., one

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 the

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 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 checked if the JavaCC grammar will : allow

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 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