Thank you for reply.

> Are you using hl.highlightMultiTerm=true? Pasting your search URL can give 
> more hints.
>
Yes, I used the  "hl.highlightMultiTerm=true" , my search query is as follows :
start=0&rows=10&facet.mincount=1&facet.field=authornav&facet.field=contentsearchkeywordnav&facet.field=contentstypenav&facet.field=copyrightnav&facet.field=docdatetimenav&facet.field=downloadpathnav&facet.field=filenamenav&facet.field=folderchecksumnav&facet.field=folderpathnav&facet.field=groupidnav&facet.field=kcmeta%2Fbookmark%2Fcountnav&facet.field=kcmeta%2Fcomment%2Fcountnav&facet.field=kcmeta%2Fenterprisetag%2Fcountnav&facet.field=kcmeta%2Fenterprisetag%2Fvaluenav&facet.field=kcmeta%2Fusertag%2Fcountnav&facet.field=kcmeta%2Fusertag%2Fvaluenav&facet.field=kcmeta%2Fview%2Fcountnav&facet.field=kcmeta%2Fvote%2Fcountnav&facet.field=lastmodifiernav&facet.field=mimetypenav&facet.field=orgidnav&facet.field=originalcontentstypenav&facet.field=processingtimenav&facet.field=roleidnav&facet.field=sizenav&facet.field=sourcenav&facet.field=titlenav&facet.field=useridnav&facet=true&hl=true&hl.fl=body&hl.fl=title&hl.simple.pre=%3Cspan+class%3D%22highlight-solr%22%3E&hl.simple.post=%3C%2Fspan%3E&q=%28%28kcmeta%2Fview%2Fcount%3A%5B+1+TO+*+%5D+AND+contentstype%3AA9000B0001*%29+AND+%28issecure%3A%220%22+OR+userid%3A%22c6305dc4%5C-cbba%5C-bf48%5C-97d5%5C-dcfe6f2430ef%22%29%29&facet.sort=count&hl.highlightMultiTerm=true

> Adding &hl.requireFieldMatch=true should probably solve your problem.
>
Yes, adding &hl.requireFieldMatch=true can solve my problem, but in my
solution , I have a "content" field indexing all fields' contents to
support full text search, but I also have another 2 fields "title" and
"body" which support highlight, when I do search on content, I expect
the "title" and "body" can be high-lighted. So using the
hl.requireFieldMatch=true may be not work.




Ouyang

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

Reply via email to