cammiemw commented on a change in pull request #2097:
URL: https://github.com/apache/lucene-solr/pull/2097#discussion_r532907950



##########
File path: lucene/core/src/java/org/apache/lucene/search/Scorable.java
##########
@@ -30,6 +30,13 @@
    * Returns the score of the current document matching the query.
    */
   public abstract float score() throws IOException;
+  
+  /**
+   * Returns the smoothing score of the current document matching the query.
+   * This score is used when the query/term does not appear in the document.
+   * This can return 0 or a smoothing score.

Review comment:
       I have added more detail and a paper the describes the motivation of the 
smoothing score.  The description of how the smoothing score is used is at the 
bottom of page 11 in the paper.  It is important to note that most of the 
explanation has to do with when the score is a product.  Even though the 
IndriAndScorer does not use a product, the smoothing score is still helpful for 
acting like an idf.  Additionally, there are many more Indri operators that I 
would like to add that do use a product.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to