Dismax ハンドラーを使用してファセットとハイライトを行うことができました。
More Like This の結果のファセットを試してみました。たとえば、次のようなクエリです。
select?
facet=on&facet.field=doc_keywords&facet.mincount=1
&fl=id,score
&fq=doc_keywords:%22Communication%22
&indent=true
&mlt=true&mlt.count=20
&mlt.fl=doc_keywords_searchable,doc_author_searchable,doc_abstract,text&mlt.mindf=1&mlt.mintf=1
&mlt.qf=doc_keywords_searchable%5E15+doc_author_searchable%5E15+doc_abstract%5E10+text
&q=id:%2211qualcomm.doc%22
&rows=1&wt=python
しかし、結果は次のとおりです。
'facet_counts':{
'facet_queries':{},
'facet_fields':{
'doc_keywords':[
'Communication',1,
'Corporation',1]},
'facet_dates':{},
'facet_ranges':{}}
これは、ファセットがq=id:"11qualcomm.doc"に対してのみ機能し、MLT 結果セットに対しては機能しないことを意味します。
ファセットは MLT 結果セットに対して機能しますか? はいの場合、何が間違っていますか?