Re: Displaying search context

2005-09-23 Thread Dan Funk
8:28 AM To: java-user@lucene.apache.org Subject: Re: Displaying search context What you are doing is a good, scalable practice. You need to store those email messages somewhere outside of Lucene, and use a unique id to correlate the two. When you want to display relevant text for a search result, fi

RE: Displaying search context

2005-09-23 Thread mark harwood
> What are the > current limitations of the > Lucene Highlighter? Does does it perform under high > query load? The major bottlenecks are typically in retrieving document content and then re-tokenizing with an Analyzer - not the actual choice of highlighting code. I've not used the Nutch summ

RE: Displaying search context

2005-09-23 Thread Dalton, Jeffery
- From: Dan Funk [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 8:28 AM To: java-user@lucene.apache.org Subject: Re: Displaying search context What you are doing is a good, scalable practice. You need to store those email messages somewhere outside of Lucene, and use a unique id

Re: Displaying search context

2005-09-23 Thread Anand Kishore
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

Re: Displaying search context

2005-09-23 Thread Dan Funk
What you are doing is a good, scalable practice. You need to store those email messages somewhere outside of Lucene, and use a unique id to correlate the two. When you want to display relevant text for a search result, find the file on disk, and pass it through the Lucene Highlighter (see th

Re: Displaying search context

2005-09-23 Thread Karl Øie
You can´t. If the indexing is unstored only the indicies of the words are indexed and you cannot reconstruct the text from the field. Karl On 23. sep. 2005, at 13.40, Anand Kishore wrote: Hi, I am indexing emails through Lucene. The body of the mails is stored in an ''Unstored" field. I als

Displaying search context

2005-09-23 Thread Anand Kishore
Hi, I am indexing emails through Lucene. The body of the mails is stored in an ''Unstored" field. I also have a search interface setup which returns me all Documents matching my query. What i need is to display a few lines from the body of the mails where the queryTerm was found. How can this be a