There is a unit test demonstrating this at a very basic level here:

http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/search/TestDocValuesScoring.java

On Mon, Aug 12, 2013 at 10:43 AM, Ross Woolf <r...@rosswoolf.com> wrote:
> The JavaDocs for NumericDocValuesField indicates that this field value can
> be used for scoring.  The example shows how to store the field, but I am
> unclear as to how to retrieve the value of the field while in a similarity
> to use it when scoring a document?  Can someone point me to an example or
> give me one that demonstrates how I can fetch the value associated with the
> document being scored while in a similarity class that I have created?

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

Reply via email to