lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
Subject How do you check a field has been indexed correctly if not stored ?
Date Tue, 05 Jan 2010 16:08:52 GMT

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message