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 vicky <vi...@raytheon.com> on 2014/06/18 16:28:16 UTC
Re: Highlighting not working
Were you ever able to resolve this issue? I am having same issue and highligh
is not working for me on solr 4.8?
--
View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-not-working-tp4112659p4142513.html
Sent from the Solr - User mailing list archive at Nabble.com.
RE: Highlighting not working
Posted by Teague James <te...@insystechinc.com>.
Vicky,
I resolved this by making sure that the field that is searched has
"stored=true". By default "text" is searched, which is the destination of
the copyFields and is not stored. If you change your copyField destination
to a field that is stored and use that field as the default search field
then highlighting should work - or at least it did for me.
As a super fast check, change the text field to "stored=true" and test.
Remember that you'll have to restart Solr and re-index first! HTH!
-Teague
-----Original Message-----
From: vicky [mailto:vicky@raytheon.com]
Sent: Wednesday, June 18, 2014 10:28 AM
To: solr-user@lucene.apache.org
Subject: Re: Highlighting not working
Were you ever able to resolve this issue? I am having same issue and
highligh is not working for me on solr 4.8?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Highlighting-not-working-tp4112659p414251
3.html
Sent from the Solr - User mailing list archive at Nabble.com.