Hi,

I am using Solr 4.10.2 following is my request:

defType(Parser)=edismax
fl=id,title,description,link_title
qf=title description keywords
pf=title description
hl=true
hl.fl=title,description,link_title
hl.q=lupus
q=lupus

I have two records in the index. Both about lupus. When I query using the 
above, the highlights are returned but not just the query term but also other 
irrelevant terms as shown below. The only synonym I have for lupus is 
"lupus,SLE,systemic lupus erythematosus" and I don't have the words "Symptoms" 
or "Sleep" in the synonyms file.

Can anyone tell me what I am doing wrong or how to fix this issue?

"highlighting":{
    "07":{
      "title":["What Are the Symptoms of <b>Lupus</b>?"],
      "description":["Medical guide to the symptoms of <b>lupus</b>."],
      "link_title":["<b>Lupus</b>: The <b>Symptoms</b> and Signs"]},
    "09":{
      "title":["<b>Lupus</b> and <b>Sleep</b>"],
      "description":["Join this team to get the tips you need to sleep better 
while living with <b>lupus</b>."],
      "link_title":["<b>Lupus</b> and <b>Sleep</b>"]}}

Thank You,
Sagar

Reply via email to