# Bulk explain?

**URL:** https://discuss.elastic.co/t/bulk-explain/14368
**Category:** Elasticsearch
**Created:** [November 12, 2013, 8:25pm UTC](https://discuss.elastic.co/t/bulk-explain/14368 "2013-11-12T20:25:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![benmccann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benmccann/32/420_2.png) [@benmccann](https://discuss.elastic.co/u/benmccann)
#### Post date: [November 12, 2013, 8:25pm UTC](https://discuss.elastic.co/t/bulk-explain/14368/1 "2013-11-12T20:25:10Z")

</div>

Hi,

I'd like to find how ElasticSearch would score 100 documents for a query. I  
only care about the final score and not how it was computed. It seems that  
the Explain API[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html)is the best method of figuring this out. Is it possible to combine this  
with the Bulk API[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html)so that I don't have to hit ElasticSearch 100 times? My initial indication  
is that you can't do it today. Would it be a reasonable thing for me to  
file a feature request for in Github?

Thanks,  
Ben

--  
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: [November 12, 2013, 8:35pm UTC](https://discuss.elastic.co/t/bulk-explain/14368/2 "2013-11-12T20:35:04Z")

</div>

Can you run a the same query with an ids filter and explain enabled? The  
ids filter will not contribute to the scoring and will only return the  
relevant documents.

Cheers,

Ivan

On Tue, Nov 12, 2013 at 12:25 PM, Ben McCann [benjamin.j.mccann@gmail.com](mailto:benjamin.j.mccann@gmail.com)wrote:

> Hi,
> 
> I'd like to find how Elasticsearch would score 100 documents for a query.  
> I only care about the final score and not how it was computed. It seems  
> that the Explain API[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html)is the best method of figuring this out. Is it possible to combine this  
> with the Bulk API[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html)so that I don't have to hit Elasticsearch 100 times? My initial indication  
> is that you can't do it today. Would it be a reasonable thing for me to  
> file a feature request for in Github?
> 
> Thanks,  
> Ben
> 
> --  
> 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: ![Ben\_McCann\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_mccann_2/32/1097_2.png) [@Ben\_McCann\_2](https://discuss.elastic.co/u/Ben_McCann_2)
#### Post date: [November 12, 2013, 9:25pm UTC](https://discuss.elastic.co/t/bulk-explain/14368/3 "2013-11-12T21:25:16Z")

</div>

Yeah, that's a great idea. Thanks Ivan!

On Tue, Nov 12, 2013 at 12:35 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Can you run a the same query with an ids filter and explain enabled? The  
> ids filter will not contribute to the scoring and will only return the  
> relevant documents.
> 
> Cheers,
> 
> Ivan
> 
> On Tue, Nov 12, 2013 at 12:25 PM, Ben McCann [benjamin.j.mccann@gmail.com](mailto:benjamin.j.mccann@gmail.com)wrote:
> 
> > Hi,
> > 
> > I'd like to find how Elasticsearch would score 100 documents for a query.  
> > I only care about the final score and not how it was computed. It seems  
> > that the Explain API[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html)is the best method of figuring this out. Is it possible to combine this  
> > with the Bulk API[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html)so that I don't have to hit Elasticsearch 100 times? My initial indication  
> > is that you can't do it today. Would it be a reasonable thing for me to  
> > file a feature request for in Github?
> > 
> > Thanks,  
> > Ben
> > 
> > --  
> > 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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/Pir6QpPPFJQ/unsubscribe](https://groups.google.com/d/topic/elasticsearch/Pir6QpPPFJQ/unsubscribe).  
> To unsubscribe from this group and all its topics, 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).

--

> **[Ben McCann on about.me](https://about.me/benmccann)**
>
> I am a Founder, Entrepreneur, and Investor in Mountain View, California. Visit my website.

--  
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:07am UTC](https://discuss.elastic.co/t/bulk-explain/14368/4 "2017-07-06T02:07:39Z")

</div>


