Would indexReader#termDocs() help? You get all docs containing a specific term - that way you could iterate in reverse order though.
simon On Tue, Jan 5, 2010 at 5:08 PM, Paul Taylor <paul_t...@fastmail.fm> wrote: > > In my junittest code, I check the index has been created okay by checking > the value of various fields that have been indexed (and stored) > i.e assertEquals("Farming Incident", > doc.getField(ArtistIndexField.ARTIST.getName()).stringValue()); > But if I'm only indexing the field , but not storing it the value isnt held, > what else could i check instead > > thanks Paul > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org