You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by yo <su...@hotmail.com> on 2014/05/30 11:08:55 UTC

defaultHighLight of solr3.6 does not work?

I am using solr3.6.2 and I found the default highlight does not work like
solr1.4.1 or FastVectorHighlighter.
Is it a bug?

I use 2gram tokenizer.

example:
text:testabctest123456testabc
index:te es st ta ab bc ct te es st t1 12 23 ・・・
query:test

parameters:
hl=true
hl.fragsize=200
hl.simple.pre={{{
hl.simple.post=}}}
hl.highlightMultiTerm=true
hl.usePhraseHighlighter=true

At solr3.6.2 the default highlight result is {{{testabctest123456test}}}abc.

At solr1.4.1 the highlight result is
{{{test}}}abc{{{test}}}123456{{{test}}}abc.

At solr3.6.2 the FastVectorHighlighter resutl is 
{{{test}}}abc{{{test}}}123456{{{test}}}abc.

what happened to the default highlight of solr3.6?

Though the FastVectorHighlighter works well, I need to use default
highlight.

Please help me and I'm sorry for my poor English.








--
View this message in context: http://lucene.472066.n3.nabble.com/defaultHighLight-of-solr3-6-does-not-work-tp4138817.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: defaultHighLight of solr3.6 does not work?

Posted by yo <su...@hotmail.com>.
I found someone had customised the solr1.4 default highlight before I joined
the team.
so It is not a bug. 
The standard solr1.4 default highlighter works like solr3.6.



--
View this message in context: http://lucene.472066.n3.nabble.com/defaultHighLight-of-solr3-6-does-not-work-tp4138817p4140022.html
Sent from the Solr - User mailing list archive at Nabble.com.