Solr子查询突出显示

时间:2017-09-14 21:10:33

标签: solr

是否可以突出显示Solr子查询的结果?就我的目的而言,如果突出显示的值位于highlighting的主response部分中,或者在每个子查询中分开,则无关紧要。

已更新:我正在使用的查询是:

?q=is_pcdm:true AND {!graph from=id to=extracted_text_source}extracted_text:washington
    &fl=*,annotations:[subquery]
    &annotations.fq={!term f=extracted_text_source v=$row.id}
    &annotations.q=extracted_text:washington
    &annotations.fl=*
    &facet.field=component_not_tokenized
    &facet=on
    &wt=json

我想在extracted_text子查询返回的文档的annotations字段中突出显示“washington”(我的搜索词)的所有出现。

0 个答案:

没有答案