lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qi Ouyang <alphaouy...@gmail.com>
Subject Re: Got error when range query and highlight
Date Fri, 17 Dec 2010 08:06:57 GMT
Now I think that hl.requireFieldMatch=false is a problem, because
there is no meaning to match query string of "kcmeta/view/count" to
the high-light field "title" and "body". To support for full-text
query field search matching high-light fields, I think it's better to
add same query condition on "title" and "body".
Ex. original query  content:"book"
      convert to  query : content:"book" OR title:"book" OR body:"book"
By using this query, I think it is possible to highlight "title" and
"body" by the query on "content".

Thank for your suggestion.

Ouyang

https://sites.google.com/a/spectrum.co.jp/openinsight/

Mime
View raw message