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 <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
