Se passar um documento armazenado para Morelikethishandler faz meu.Mind= 1 excluir o documento passou?

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

  •  16-11-2019
  •  | 
  •  

Pergunta

em solr, estou usando o manipulador Morelikethis.Eu estou passando no ID exclusivo de um documento que já existe no índice para encontrar documentos relacionados.A especificação MLT.MINDF= 1 inclui o documento mencionado anteriormente?Se eu quiser ter certeza de que existe em pelo menos um documento que não seja o que eu passe, devo definir o valor de MLT.MINDF= 2 em vez disso?

Foi útil?

Solução

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

Outras dicas

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top