lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From govind nitk <govind.n...@gmail.com>
Subject Re: More Highlighting details
Date Fri, 26 Jul 2019 05:34:39 GMT
Hi Furkan KAMACI,

Thanks for your reply. Will look at custom transformer options.
I was looking for any way( can be debug also) to get from highlight that it
is matched vs defaultSummary.
Anyways, will update findings on custom transformers and if it can solve
what I mean by.

Best Regards,
Govind

On Thu, Jul 25, 2019 at 11:45 PM Furkan KAMACI <furkankamaci@gmail.com>
wrote:

> Hi Govind,
>
> Highlighting is the easiest way to detect it. You can find a similar
> question at here:
>
> https://stackoverflow.com/questions/9629147/how-to-return-column-that-matched-the-query-in-solr
>
> Kind Regards,
> Furkan KAMACI
>
> On Wed, Jul 24, 2019 at 9:28 PM govind nitk <govind.nitk@gmail.com> wrote:
>
> > Hi Furkan KAMACI,
> >
> > Thanks for your thoughts on maxAnalyzedChars.
> >
> > So, how can we get whether its matched or not? Is there any way to get
> such
> > data from extra payload in response from solr ?
> >
> > Thanks and regards
> > Govind
> >
> > On Wed, Jul 24, 2019 at 8:43 PM Furkan KAMACI <furkankamaci@gmail.com>
> > wrote:
> >
> > > Hi Govind,
> > >
> > > Using *hl.tag.pre* and *hl.tag.post* may help you. However you should
> > keep
> > > in mind that even such term exists in desired field, highlighter can
> use
> > > fallback field due to *hl.maxAnalyzedChars* parameter.
> > >
> > > Kind Regards,
> > > Furkan KAMACI
> > >
> > > On Wed, Jul 24, 2019 at 8:24 AM govind nitk <govind.nitk@gmail.com>
> > wrote:
> > >
> > > > Hi all,
> > > > How about using hl.tag pre and post. If these are present then there
> is
> > > > actually field match otherwise its default summary ?
> > > > Will it work or there are some cases where it will not ?
> > > >
> > > >
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > > > On Tue, Jul 23, 2019 at 5:48 PM govind nitk <govind.nitk@gmail.com>
> > > wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > How to get more details for highlighting ?
> > > > >
> > > > > I am using
> > > > >
> > > >
> > >
> >
> hl.method=unified&&hl.fl=title,url,paragraph&hl.requireFieldMatch=true&hl.defaultSummary=true
> > > > >
> > > > > So, if query words not matched, I am getting defaultSummary, which
> is
> > > > > great. *Can we get more info saying whether it found matches or
> > default
> > > > > summary? How to get such information?*
> > > > > Also is it good idea to use highlighting on urls ? Will urls get
> > > > distorted
> > > > > by any chance ?
> > > > >
> > > > >
> > > > > Best Regards,
> > > > > Govind
> > > > >
> > > > >
> > > >
> > >
> >
>

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