Thanks everyone who replied! The FastVectorHighlighter did the trick. Here
is how I configured it:
In solrconfig.xml:
In the requestHandler I added:
on
text
true
100
In schema.xml:
I modified the text field:
I restarted Solr, re-indexed the documents and tested. All phrases are
correctly highli
Hi Teague,
I couldn't understand the part of "document size" in your question, but if
you'd like
Solr to return snippet
My search phrase
instead of
My search phrase
you should use FastVectorHighlighter. In case use of FVH, your highlight field
(hl.fl=text)
need to be indexed with options te
Hello,
Thanks for replying! I tried using it in a query string, but without success.
Should I add it to my solrconfig? If so, are there any other hl parameters that
are necessary?
-Teague
> On Dec 1, 2015, at 9:01 PM, Philippe Soares wrote:
>
> Hi,
> Did you try hl.mergeContiguous=true ?
>
Hi,
Did you try hl.mergeContiguous=true ?
On Tue, Dec 1, 2015 at 3:36 PM, Teague James
wrote:
> Hello everyone,
>
> I am having difficulty enabling phrase highlighting and am hoping someone
> here can offer some help. This is what I have currently:
>
> Solr 4.9
> solrconfig.xml (partial snip)
>