lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject RE: Query question
Date Thu, 11 Sep 2003 15:05:21 GMT
Aha.  You can't do it with a query, unless you add a fixed-value field
to all documents added to your index.
e.g.
field:X

Then you can get all documents by searching for +field:X

Otis

--- Rob Outar <routar@ideorlando.org> wrote:
> Otis,
> 
> 	Are you referring to this:
> 
> 		How do I retrieve all the values of a particular field that exists
> within
> an index, across all documents?
> 
> I need a query to do it, the only way clients access the index is via
> queries so they cannot write the code in the faq above.
> 
> Thanks,
> 
> Rob
> 
> 
> -----Original Message-----
> From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com]
> Sent: Wednesday, September 10, 2003 5:05 PM
> To: Lucene Users List
> Subject: Re: Query question
> 
> 
> Go to Lucene FAQ at jGuru.com and search for the word 'all'.
> 
> Otis
> 
> --- Rob Outar <routar@ideorlando.org> wrote:
> > Hi all,
> >
> > 	I have a field called "echelon" that are assigned to certain
> files.
> > Is
> > there a query I can write that will give me all files that have
> this
> > field?
> >
> > 	I have tried stuff like echelon:.+*, echelon:*, etc... some give a
> > query
> > parser exception while others return nothing.
> >
> > Let me know,
> >
> > Rob
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> lucene-user-help@jakarta.apache.org
> >
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Mime
View raw message