copyField is a literal operation that happens at index time -- but it
really has no bearing what so ever on highlighting done at query time.
there is no "memory" of what source fields any values came from, so it
doesn't affect things in any way.
You haven't provided any details about your sch
J
--
View this message in context:
http://lucene.472066.n3.nabble.com/Urgent-Highlighting-not-working-as-expected-tp3983755p3983907.html
Sent from the Solr - User mailing list archive at Nabble.com.
text
with a copyField from cr_fristname that fully supports highlighting of text
terms.
BTW, I presume that should be "first" name, not "frist" name.
-- Jack Krupansky
-Original Message-
From: TJ Tong
Sent: Tuesday, May 15, 2012 11:15 AM
To: solr-user@lucene.apache.org
Subj
e in context:
http://lucene.472066.n3.nabble.com/Urgent-Highlighting-not-working-as-expected-tp3983755p3983883.html
Sent from the Solr - User mailing list archive at Nabble.com.
: TJ Tong
Sent: Monday, May 14, 2012 4:44 PM
To: solr-user@lucene.apache.org
Subject: Urgent! Highlighting not working as expected
Dear all,
I queried Solr (3.5) with this: q=text:"G-Money"&hl=true&hl.fl=*, where text
is a "text" field and all the other fields were copie
, but it was not highlighted. But if I search on this field:
q=cr_firstname:"G-Money"&hl=true&hl.fl=*, it will be highlighted. Any idea
what shall I do to let both "text" and "string" fields highlighted?
Thanks in advance!
--
View this message in context:
http:/