lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Kishore <>
Subject Re: Displaying search context
Date Fri, 23 Sep 2005 13:27:08 GMT
Thanx guyz for your prompt replies.

>>When you want to display relevant text for a search
>>result, find the file on disk, and pass it through the Lucene
>>Highlighter (see the Lucene sandbox).

A nice suggestion but again as i'm indexing mails my Lucene Document has
fields like "Sender", "Subject", and "Content". Feeding the entire mail from
disk will also include meta-data which i need to exclude.


If i extract the subject, content etc concating them as a string, and then
feed it to the highlighter it should work rite???

- Andy

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message