Si pasar un documento almacenado a Morelikethishandler, ¿my.Mind= 1 excluye el documento aprobado?

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

  •  16-11-2019
  •  | 
  •  

Pregunta

En Solr, estoy usando el controlador Morelikethis.Estoy pasando por la identificación única de un documento que ya existe en el índice para encontrar documentos relacionados.¿Especificar MLT.Mindf= 1 incluye el documento mencionado anteriormente?Si quiero asegurarme de que existe en al menos un documento que no sea el que pase, ¿debería establecer el valor de mlt.mindf= 2 en su lugar?

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top