New to Elasticsearch


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.

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