Mailing List Archive

Dynamic Summary
Hello All,
I am using Lucene in a site to search on HTMLs. Can anyone help me
how to display the summary containing the searched keyword. I think the
summary is predefined in the Document Object while creating index. How can
I dynamically select summary depending on the search keyword? Is there any
max. limit for the summary length?

Please do respond quickly. Thanks in advance.

regards,
sreeni

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
RE: Dynamic Summary [ In reply to ]
Hello,
we implemented an algorithm that makes a summary of fields based on terms in query and some parameter (max length, max fragments).

I hope in 2 days I can send the code (it needs some refactoring, commenting).

peter

> -----Original Message-----
> From: Sreenivasulu M [mailto:SreenivasuluM@PLANETASIA.COM]
> Sent: Wednesday, February 20, 2002 11:30 AM
> To: 'Lucene Users List'
> Subject: Dynamic Summary
>
>
> Hello All,
> I am using Lucene in a site to search on HTMLs. Can
> anyone help me
> how to display the summary containing the searched keyword. I
> think the
> summary is predefined in the Document Object while creating
> index. How can
> I dynamically select summary depending on the search keyword?
> Is there any
> max. limit for the summary length?
>
> Please do respond quickly. Thanks in advance.
>
> regards,
> sreeni
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>