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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]