При прохождении хранимого документа в MorelikethishishAndler My.mind= 1 исключает документ, в котором принято?
-
16-11-2019 - |
Вопрос
в Solr, я использую обработчик мореликетиса.Я прохожу в уникальном идентификации документа, который уже существует в индексе, чтобы найти связанные документы.Указание 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