That example shows using fieldcache, I am not wanting to use the fieldcache. I want to use the newer NumericDocValuesField. Any direction or examples of how to retrieve a value from the created NumericDocValuesField in most efficient way would be appreciated.
On Mon, Aug 12, 2013 at 8:54 AM, Robert Muir <[email protected]> wrote: > 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] > >
