Thanks to Erick, Matthew, and Uwe -- that does help, a lot. E.g., one bit of 
code I had (mostly copied) now makes more sense: 

// add this field, to allow retrieving the full-text: 
myDocument.add(new Field("contents", theFullDocumetText, Field.Store.COMPRESS, 
Field.Index.NO));

// add this field, to allow keyword search: 
myDocument.add(new Field("contents", theFullDocumetText, Field.Store.NO, 
Field.Index.ANALYZED));

Right?

-Paul 




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to