If I understand what you want - open an index with IndexReader, get the # of documents in it via IndexReader, loop through all documents, getting one with it's ID, and for each of them get field 'codes' out of it.
Otis --- Terry Steichen <[EMAIL PROTECTED]> wrote: > I have a collection of XML documents, each of which contains a > 'codes' section, each of which contains zero or more 'code' sections. > When I index the documents, I concatenate all the non-empty 'code' > sections into a single 'codes' index field to facilitate boolean > searching. > > Given my structure, is there a way that I could get a list all the > defined 'code' values in the entire set of documents? If not (as I > suspect), is there a way that I could change the indexing scheme to > add this functionality? > > Regards, > > Terry > > > > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
