Si vous passez un document stocké à Morelikethishandler, mon.mind= 1 exclut le document est-il passé?
-
16-11-2019 - |
Question
Dans Solr, j'utilise le gestionnaire Morelikethis.Je passe dans l'ID unique d'un document qui existe déjà dans l'indice afin de trouver des documents connexes.Spécification de MLT.Mindf= 1 inclure le document mentionné précédemment?Si je veux être sûr qu'il existe dans au moins un document autre que celui que je passe, dois-je définir la valeur de mlt.mindf= 2 à la place?
La solution
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 :)
Autres conseils
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