저장된 문서를 Morelikethishandler로 전달하면 my.mind= 1이 문서를 제외합니까?
-
16-11-2019 - |
문제
SOLR의 저는 Morelikethis Handler를 사용하고 있습니다.관련 문서를 찾으려면 인덱스에 이미 존재하는 문서의 고유 한 ID를 전달하고 있습니다.MLT.MINDF= 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