# Discription about explain api

**URL:** <https://discuss.elastic.co/t/discription-about-explain-api/15723>\
**Category:** Elasticsearch\
**Created:** [February 11, 2014, 10:51am UTC](https://discuss.elastic.co/t/discription-about-explain-api/15723 "2014-02-11T10:51:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navneet\_Mathpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navneet_mathpal/32/3677_2.png) [@Navneet\_Mathpal](https://discuss.elastic.co/u/Navneet_Mathpal)\
**Post date:** [February 11, 2014, 10:51am UTC](https://discuss.elastic.co/t/discription-about-explain-api/15723/1 "2014-02-11T10:51:37Z")

</div>

hi ,

I want to know about follwing things about the explain api,

description: score(doc=0,freq=1.0 = termFreq=1.0 ) what does mean of  
freq=0 and docs=0

description: idf(docFreq=1, maxDocs=1) value: 2.304384 what is the  
docFreq and how it calculated and what is the maxdocs and how does it  
calculated.

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/840249ae-fc9c-450e-aebf-0f96c2142902%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/840249ae-fc9c-450e-aebf-0f96c2142902%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 11, 2014, 1:45pm UTC](https://discuss.elastic.co/t/discription-about-explain-api/15723/2 "2014-02-11T13:45:38Z")

</div>

Hey,

the description about tf/idf similarity in the lucene javadocs might help  
here:  
[https://lucene.apache.org/core/4\_0\_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html](https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html)

--Alex

On Tue, Feb 11, 2014 at 11:51 AM, Navneet Mathpal \<  
[navneetmathpal93@gmail.com](mailto:navneetmathpal93@gmail.com)\> wrote:

> hi ,
> 
> I want to know about follwing things about the explain api,
> 
> description: score(doc=0,freq=1.0 = termFreq=1.0 ) what does mean of  
> freq=0 and docs=0
> 
> description: idf(docFreq=1, maxDocs=1) value: 2.304384 what is the  
> docFreq and how it calculated and what is the maxdocs and how does it  
> calculated.
> 
> --  
> 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/840249ae-fc9c-450e-aebf-0f96c2142902%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/840249ae-fc9c-450e-aebf-0f96c2142902%40googlegroups.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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM\_qr4NwNNkk2AxTvXwzkFqP71ys\_\_BZHo%3D%2BfpTw9c87tA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_qr4NwNNkk2AxTvXwzkFqP71ys__BZHo%3D%2BfpTw9c87tA%40mail.gmail.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, 1:51am UTC](https://discuss.elastic.co/t/discription-about-explain-api/15723/3 "2017-07-06T01:51:05Z")

</div>


