保存されている文書をMorelikethishandlerに渡すと、My.Mind= 1は渡された文書を除外しますか?
-
16-11-2019 - |
質問
Solrでは、私はMorelikethisハンドラを使っています。関連文書を見つけるために、インデックスにすでに存在する文書の一意のIDを渡しています。mlt.mindf= 1を指定すると、前述の文書が含まれていますか?私が渡す1つ以外の少なくとも1つの文書にそれが確実に存在したい場合は、代わりにmlt.mindf= 2の値を設定する必要がありますか?
解決
That's a fun project your'e doing :D
And your'e correct. You should set the value to 2 if you want to make sure that there is at-least one other document with the same term.
Tip:
If you're automatically finding related documents,i.e, the relation(term) is not specified by a user, make sure you search for good keywords to find related documents by filtering out unwanted words(use any of the available filters to do this).
You could also suggest some words(maybe 5,6,..) and use javascript to make something like the Wonder-wheel.
Have fun :)
他のヒント
mindf
specifies the minimum document frequency, that is, the minimum number of documents that must include a term for that term to be counted.
For more info, see MoreLikeThis