Re: Highlight the searched word when full-text searching performed

2005-11-27 Thread Jerry Stern
wonder how to highlight the searched word when full-text > searching performed based on Lucene. > At the indexing stage, the contents of a original file is > regarded as a FIELD of a Lucene document: > private static void indexFile(File file, IndexWriter idxWriter) > throws IOException {

Re: Highlight the searched word when full-text searching performed

2005-11-27 Thread Erik Hatcher
On 27 Nov 2005, at 00:24, Jerry Stern wrote: I wonder how to highlight the searched word when full-text searching performed based on Lucene. At the indexing stage, the contents of a original file is regarded as a FIELD of a Lucene document: private static void indexFile(File file

Highlight the searched word when full-text searching performed

2005-11-26 Thread Jerry Stern
Hi all, I wonder how to highlight the searched word when full-text searching performed based on Lucene. At the indexing stage, the contents of a original file is regarded as a FIELD of a Lucene document: private static void indexFile(File file, IndexWriter idxWriter) throws IOException