# More Like This: Select K-Top-Terms per field or total?

**URL:** <https://discuss.elastic.co/t/more-like-this-select-k-top-terms-per-field-or-total/192113>\
**Category:** Elasticsearch\
**Created:** [July 24, 2019, 6:11pm UTC](https://discuss.elastic.co/t/more-like-this-select-k-top-terms-per-field-or-total/192113 "2019-07-24T18:11:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagoheron](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiagoheron/32/88092_2.png) [@thiagoheron](https://discuss.elastic.co/u/thiagoheron)\
**Post date:** [July 24, 2019, 6:11pm UTC](https://discuss.elastic.co/t/more-like-this-select-k-top-terms-per-field-or-total/192113/1 "2019-07-24T18:11:43Z")

</div>

Hello, I'm working on RecSystem using More Like This. So, I read that the query will select the terms with highest tf-idf to representive the input document, and could be used within a disjunctive query to retrieve similar documents.

So, I used Term Vector to saw how the top terms was selected. But, was returned the Top-K-Terms with Scores per field.

So, if have a more like this, with N fields, and with term selection param "max query terms" equal to 10.  
My disjunctive query will be create with 10 terms (total) ou 10 terms per field, then 10\*N-Fields?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 21, 2019, 6:11pm UTC](https://discuss.elastic.co/t/more-like-this-select-k-top-terms-per-field-or-total/192113/2 "2019-08-21T18:11:47Z")

</div>

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