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 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
> achieved as
> the body is just indexed but not stored.
>
> Thanx
>
> - Andy
> http://da-tek-ee.blogspot.com
>
- All of Canada sincerely apologizes for Celine Dion. In their defense;
she's French.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|