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: Minimum time between distributions

2006-11-21 Thread Chris Hostetter
: Are there any risks with reducing this window to every one or two : minutes? With large caches could the autowarming take longer than one : or two minutes? It isn't a business need to reduce the window but I'm : just curious about the feasibility and risks. you can definitely run into problems

Re: Minimum time between distributions

2006-11-21 Thread Yonik Seeley
On 11/21/06, Chris Hostetter [EMAIL PROTECTED] wrote: once upon a time Yonik and i discussed having a maxAutoWarm time option on the caches, and they would give up if that much time had elapsed At first I thought it would be easy... just autowarm until time is up. But then I realized that

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

Minimum time between distributions

2006-11-21 Thread Kevin Lewandowski
On Discogs I'm running Solr with two slaves and one master, using the distribution scripts. The slaves pull and install a new snapshot every five minutes and this is working very well so far. Are there any risks with reducing this window to every one or two minutes? With large caches could 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
I was thinking about existing SOLR Admin Interface... It already provides some kind of _solr:all, it can show at least number of documents and some other statistics. If we can do it XML-way, and make it more abstract and generic (facets, terms, etc.)... -Original Message- From: Walter

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