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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to