문제

I execute a SOLR search and return related documents using the MoreLikeThisComponent (passing mlt=true and related parameters via URL). How can I get the similarity value for the similar documents?

도움이 되었습니까?

해결책

You can get the score field back. Add the score field to the fl parameter.

If you wanna normalize, add the match_include parameter, and normalize the scores against the one of the document you submitted.

See http://docs.lucidworks.com/display/solr/MoreLikeThis for more details on each parameters.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top