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'
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
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
: >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
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
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
>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.
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
: 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
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
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
: > 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
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
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
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
15 matches
Mail list logo