Wenn Sie ein gespeichertes Dokument an Morelikethisandler übergeben, schließt My.Mind= 1 das in eingelegte Dokument aus?
-
16-11-2019 - |
Frage
In Solr verwende ich den Morelikethis-Handler.Ich überfahre die eindeutige ID eines Dokuments, das bereits im Index vorhanden ist, um verwandte Dokumente zu finden.Fügen Sie die Angabe von MLT.MINDF= 1 das zuvor erwähnte Dokument ein?Wenn ich sicher sein möchte, dass es in mindestens einem anderen Dokument außer dem eingap eingeht, sollte ich stattdessen den Wert von mlt.mindf= 2 einstellen?
Lösung
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 :)
Andere Tipps
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