# New to Elasticsearch

**URL:** <https://discuss.elastic.co/t/new-to-elasticsearch/286631>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [October 13, 2021, 2:01pm UTC](https://discuss.elastic.co/t/new-to-elasticsearch/286631 "2021-10-13T14:01:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodo\_Andrade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rodo_andrade/32/95820_2.png) [@Rodo\_Andrade](https://discuss.elastic.co/u/Rodo_Andrade)\
**Post date:** [October 13, 2021, 2:01pm UTC](https://discuss.elastic.co/t/new-to-elasticsearch/286631/1 "2021-10-13T14:01:14Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f71b0a05dfdfa53339136c79db6d3d990c91a55b.png)

Hello, I'm fairly new to Elasticsearch. I'm using the NEST (7.11.1) to query a document field [Text(TermVector = TermVectorOption.WithOffsets)], it's storying large file text. For the sake of this example, I have 2 PDF documents, where both FileText contains the word "Pip". Although Document A contains 5 "Pip" and Document B contains 10 "Pip" the matching weight for A is coming back greater than B. See above screenshot for the query. I'm not sure why Document A \> B, I feel like A should be less than B because it contains less "Pip" in the document.

---

<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:** [November 10, 2021, 2:02pm UTC](https://discuss.elastic.co/t/new-to-elasticsearch/286631/2 "2021-11-10T14:02:00Z")

</div>

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