Se passando un documento memorizzato per Morelikethishandler, My.Mind= 1 ha escluso il documento passato?

StackOverflow https://stackoverflow.com/questions/6064443

  •  16-11-2019
  •  | 
  •  

Domanda

In SOLR, sto usando il gestore Morelikethis.Sto passando nell'ID univoco di un documento che esiste già nell'indice per trovare documenti correlati.Specifica MLT.Mindf= 1 include il documento menzionato in precedenza?Se voglio essere sicuro che esiste in almeno un documento diverso da quello che passiamo, dovrei impostare il valore di mlt.mindf= 2 invece?

È stato utile?

Soluzione

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 :)

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top