# Question about the ranking in ElasticSearch

**URL:** <https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031>\
**Category:** Elasticsearch\
**Created:** [August 1, 2013, 1:23pm UTC](https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031 "2013-08-01T13:23:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maximilian\_brodhun](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@maximilian\_brodhun](https://discuss.elastic.co/u/maximilian_brodhun)\
**Post date:** [August 1, 2013, 1:23pm UTC](https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031/1 "2013-08-01T13:23:53Z")

</div>

Hallo dear all,

I have ingested a few files (more than 700.000) in an ElasticSearch Index.

The files in the index have to attachement fields where I stored fulltext  
data. This field is sometimes really huge.

As I queried my index I missed one special file.

In the attachement filed "ftattach" this document has a text which has over  
800 A4 pages. The word I searched for appears just one single time in the  
whole text.

Maybe ElasticSearch (or Lucene) calculates that as not relevant because of  
a low score.

Is there any posibility to decrement the necessary ranking-score so I can  
find the missing file?

Hope you can help me.

kind regards

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [August 1, 2013, 1:39pm UTC](https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031/2 "2013-08-01T13:39:41Z")

</div>

Maybe it helps to index each page into a document.

Jörg

On Thu, Aug 1, 2013 at 3:23 PM, [maximilian.brodhun@googlemail.com](mailto:maximilian.brodhun@googlemail.com) wrote:

> Hallo dear all,
> 
> I have ingested a few files (more than 700.000) in an Elasticsearch Index.
> 
> The files in the index have to attachement fields where I stored fulltext  
> data. This field is sometimes really huge.
> 
> As I queried my index I missed one special file.
> 
> In the attachement filed "ftattach" this document has a text which has  
> over 800 A4 pages. The word I searched for appears just one single time in  
> the whole text.
> 
> Maybe Elasticsearch (or Lucene) calculates that as not relevant because of  
> a low score.
> 
> Is there any posibility to decrement the necessary ranking-score so I can  
> find the missing file?
> 
> Hope you can help me.
> 
> kind regards
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![maximilian\_brodhun](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@maximilian\_brodhun](https://discuss.elastic.co/u/maximilian_brodhun)\
**Post date:** [August 2, 2013, 9:34am UTC](https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031/3 "2013-08-02T09:34:34Z")

</div>

The document is a XML file which I can't divide. For other things it is  
necessary that document one huge document.

There is no possibility to just decrement ranking requirements so  
Elasticsearch list also results with a lower score?

Am Donnerstag, 1. August 2013 15:39:41 UTC+2 schrieb Jörg Prante:

> Maybe it helps to index each page into a document.
> 
> Jörg
> 
> On Thu, Aug 1, 2013 at 3:23 PM, \<[maximilia...@googlemail.com](mailto:maximilia...@googlemail.com) \<javascript:\>
> 
> > wrote:
> 
> > Hallo dear all,
> > 
> > I have ingested a few files (more than 700.000) in an Elasticsearch  
> > Index.
> > 
> > The files in the index have to attachement fields where I stored fulltext  
> > data. This field is sometimes really huge.
> > 
> > As I queried my index I missed one special file.
> > 
> > In the attachement filed "ftattach" this document has a text which has  
> > over 800 A4 pages. The word I searched for appears just one single time in  
> > the whole text.
> > 
> > Maybe Elasticsearch (or Lucene) calculates that as not relevant because  
> > of a low score.
> > 
> > Is there any posibility to decrement the necessary ranking-score so I can  
> > find the missing file?
> > 
> > Hope you can help me.
> > 
> > kind regards
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [August 3, 2013, 1:26pm UTC](https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031/4 "2013-08-03T13:26:51Z")

</div>

Search is returning the document, but just not scored as high as you would  
like it? If so, field length might be a problem. You can disable norms on  
that field so that length normalization is not occurring.

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--  
Ivan

On Fri, Aug 2, 2013 at 5:34 AM, [maximilian.brodhun@googlemail.com](mailto:maximilian.brodhun@googlemail.com) wrote:

> The document is a XML file which I can't divide. For other things it is  
> necessary that document one huge document.
> 
> There is no possibility to just decrement ranking requirements so  
> Elasticsearch list also results with a lower score?
> 
> Am Donnerstag, 1. August 2013 15:39:41 UTC+2 schrieb Jörg Prante:
> 
> > Maybe it helps to index each page into a document.
> > 
> > Jörg
> > 
> > On Thu, Aug 1, 2013 at 3:23 PM, \<maximilia...@\*\*[googlemail.com](http://googlemail.com)\> wrote:
> > 
> > > Hallo dear all,
> > > 
> > > I have ingested a few files (more than 700.000) in an Elasticsearch  
> > > Index.
> > > 
> > > The files in the index have to attachement fields where I stored  
> > > fulltext data. This field is sometimes really huge.
> > > 
> > > As I queried my index I missed one special file.
> > > 
> > > In the attachement filed "ftattach" this document has a text which has  
> > > over 800 A4 pages. The word I searched for appears just one single time in  
> > > the whole text.
> > > 
> > > Maybe Elasticsearch (or Lucene) calculates that as not relevant because  
> > > of a low score.
> > > 
> > > Is there any posibility to decrement the necessary ranking-score so I  
> > > can find the missing file?
> > > 
> > > Hope you can help me.
> > > 
> > > kind regards
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to elasticsearc...@\*\*[googlegroups.com](http://googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > .
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:23am UTC](https://discuss.elastic.co/t/question-about-the-ranking-in-elasticsearch/13031/5 "2017-07-06T02:23:08Z")

</div>


