More Like This returnd documents

Hi all, I've been using MLT query, to search similar documents to a given one. I am planning to create a kind of recommender system, something like, if you choose this doc, you could be also interested into those others.

I notice MLT returns all the documents in the index. I want to limit the returned documents only to the top 5, reducing the time overhead. I tried with "size":5 , but it does not seem to be working.

Rgds valerio

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.