lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Perez Pulido <leoperezpul...@gmail.com>
Subject Re: FastVector does not highlight for phrase query when it contains stop word/s
Date Mon, 21 Aug 2017 16:19:07 GMT
Hi,
Do you analyze your text with StopFilterFactory, in your field type?
Regards.

On Mon, Aug 21, 2017 at 11:47 AM, Jagdish Vasani <
Jagdish.Vasani@thedigitalgroup.com> wrote:

> Hi  Solr Users,
>
> I come across issue that fast Vector highlighter does not highlight field
> values when search for phrase query contains stop word.
> For example , Query is "blue is the sky" , it will return result but
> highlighting will not available for this field.
>
> I have applied,
> hl.usePhraseHighlighter=true
> hl.preserveMulti=true
> hl.highlightMultiTerm=true
> hl.fragsize=1500
> hl.snippets=5
> hl=on
> hl.fl=<Fields to highlight>
> hl.tag.pre=<some pre tag>
> hl.tag.post==<some post tag>
> hl.method = fastVector
>
> schema.xml, fields having
> indexed="true" termOffsets="true" stored="true" termPositions="true"
> termVectors="true" multiValued="true"
>
> I have used solr 6.4.2
>
> Does that correct or I am missing some thing ?
>
> Thanks,
> Jagdish
>
>
> ________________________________
>
> NOTICE TO RECIPIENT(s):This e-mail message may contain confidential or
> legally privileged information and is intended only for the use of the
> intended recipient(s). Any unauthorized disclosure, dissemination,
> distribution, copying or the taking of any action in reliance on the
> information herein is prohibited. E-mails are not secure and cannot be
> guaranteed to be error free as they can be intercepted, amended, or contain
> viruses. Although The Digital Group has taken reasonable precautions to
> ensure no viruses are present in this email, the company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachments. Any opinion defamatory or deemed to be defamatory or any
> material which could be reasonably branded to be a species of plagiarism
> and other statements contained in this message and any attachment are
> solely those of the author and do not necessarily represent those of the
> company.
>

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