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.n...@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 <furkankam...@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.n...@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.n...@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
> > > >
> > > >
> > >
> >
>

Reply via email to