lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: PostingsHighlighter to highlight the first Match ion the document
Date Wed, 17 Jul 2013 13:17:53 GMT
You might be able to make a custom scorer that assigns an insanely
great score to the first sentence it's asked to score?

Mike McCandless

http://blog.mikemccandless.com


On Wed, Jul 17, 2013 at 6:18 AM, VIGNESH S <vigneshklncit@gmail.com> wrote:
> Hi,
>
> I need to do highlight the first sentence which matches the search keyword
> in a document using PostingsHighlighter.
>
> How can i do this
>
> Any Help or suggestions welcome
> --
> Thanks and Regards
> Vignesh Srinivasan

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message