lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VIGNESH S <vigneshkln...@gmail.com>
Subject Re: PostingsHighlighter to highlight the first Match ion the document
Date Thu, 18 Jul 2013 06:57:32 GMT
Hi Mike,

I am getting the Search Hits.

Will PostingsHighlighter support all analyzers.?


Thanks and Regards
Vignesh Srinivasan



On Wed, Jul 17, 2013 at 11:06 PM, Michael McCandless <
lucene@mikemccandless.com> wrote:

> Hmm it sounds like you are getting the "default passage" (first N
> sentences), which happens when the document did not have any matched
> terms from the query.  Are you sure your content matches Android?  Can
> you post a full test case showing the issue?
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Wed, Jul 17, 2013 at 10:12 AM, VIGNESH S <vigneshklncit@gmail.com>
> wrote:
> > Hi Mike,
> >
> > I tried the TestPostingsHighlighter.java.The contents I gave my own
> > content..
> >
> > In that,If iam searching "Android",it is always returning the First
> > Sentence as highlighted text whether the sentence contains Searched
> keyword
> > or not..
> >
> >
> >
> >
> > On Wed, Jul 17, 2013 at 3:48 PM, 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
> >>
> >>
> >
> >
> > --
> > Thanks and Regards
> > Vignesh Srinivasan
> > 9739135640
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 
Thanks and Regards
Vignesh Srinivasan
9739135640

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