Hi Hui,

I'm not 100% certain but I believe this syntax was added in 1.2 (it
certainly works in the svn trunk code), can anyone confirm this?

cheers,
Piete



On 14/08/07, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:
>
> Piete,
>
> I tried and it doesn't work for Solr 1.1.  Is it supported for 1.2 or at
> all?
>
> (Right now, I'm using a work-around by a range query for a field whose
> range
> is known to be larger than 0.)
>
>
> Thanks,
>
> -Hui
>
>
>
> On 8/12/07, Pieter Berkel <[EMAIL PROTECTED]> wrote:
> >
> > Try using q=*:* to match all documents in the index.
> >
> > Piete
> >
> >
> >
> > On 13/08/07, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi, there,
> > >
> > > I found the following post on the web. Is this still the simplest
> > > get-around
> > > to retrieve all documents in an index? (I'm asking just in case I
> don't
> > > know
> > > there's a more standard way to do that now.)
> > >
> > >
> > > thanks,
> > >
> > > -Hui
> > >
> > >
> > >
> > > From      "Fuad Efendi" < [EMAIL PROTECTED]>
> > > Subject     RE: MatchAllDocsQuery in solr?
> > > Date     Wed, 29 Nov 2006 01:58:25 GMT
> > >
> > > Workaround
> > > ==========
> > >
> > > Define a field <field name="match_all">abcd</field> 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-user@lucene.apache.org
> > > Subject: MatchAllDocsQuery in solr?
> > >
> > >
> > > 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 query,  upon
> > > completion, to make sure the index is in the expected state (nothing
> > > missing, nothing extra).
> > >
> > > Yes, I can create a query that will match all my docs, there are a
> > > few fields that have a relatively small range of values. I was just
> > > looking for a standard way to do it first.
> > >
> > > Thanks,
> > >
> > > Tom
> > >
> >
>
>
>
> --
> Regards,
>
> -Hui
>

Reply via email to