Re: Cosine Similarity ElasticSearch

2014-08-01 Thread RickDast
There is someone that can help us? Thank you very much! -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Cosine-Similarity-ElasticSearch-tp4060620p4061039.html Sent from the ElasticSearch Users mailing list archive at Nabble.com. -- You received this message

Re: Cosine Similarity ElasticSearch

2014-08-01 Thread vineeth mohan
Hello Rick , MLT query translates the source document into a normal boolean terms query. This query is fired against the index and a normal TF IDF is used to find the score. AFAIK this is the working of MLT. Thanks Vineeth On Fri, Aug 1, 2014 at 2:11 PM, RickDast chicco...@gmail.com

Re: Cosine Similarity ElasticSearch

2014-08-01 Thread Alex S.V.
Hi, I found some native script codings from Igor Motov here: https://github.com/imotov/elasticsearch-native-script-example/blob/master/src/main/java/org/elasticsearch/examples/nativescript/script/CosineSimilarityScoreScript.java and now playing with it Alex On Friday, August 1, 2014

Re: Cosine Similarity ElasticSearch

2014-07-30 Thread peter SP
I am also interested in this question. I have found a fairly old code snippet [1] to calculate the cosine similarity in lucene, but I was wondering if elasticsearch provided an easier API to access this information. [1]