ok that makes sense.
Shai
On Mon, Aug 12, 2013 at 9:18 PM, Robert Muir wrote:
> On Mon, Aug 12, 2013 at 11:06 AM, Shai Erera wrote:
> >
> > Or, you'd like to keep FieldCache API for sort of back-compat with
> existing
> > features, and let the app control the "caching" by using an explicit
>
On Mon, Aug 12, 2013 at 11:06 AM, Shai Erera wrote:
>
> Or, you'd like to keep FieldCache API for sort of back-compat with existing
> features, and let the app control the "caching" by using an explicit
> RamDVFormat?
>
Yes. In the future ideally fieldcache goes away and is a
UninvertingFilterRea
Rob, when DiskDV becomes the default DVFormat, would it not make sense to
load the values into the cache if someone uses FieldCache API? Vs. if
someone calls DV API directly, he uses whatever is the default Codec, or
the one that he plugs.
That's what I would expect from a 'cache'. So it's ok that
Yes, I will open an issue.
On Mon, Aug 12, 2013 at 10:02 AM, Robert Muir wrote:
> On Mon, Aug 12, 2013 at 8:48 AM, Ross Woolf wrote:
> > Okay, just for clarity sake, what you are saying is that if I make the
> > FieldCache call it won't actually create and impose the loading time of
> the
> >
On Mon, Aug 12, 2013 at 8:48 AM, Ross Woolf wrote:
> Okay, just for clarity sake, what you are saying is that if I make the
> FieldCache call it won't actually create and impose the loading time of the
> FieldCache, but rather just use the NumericDocValuesField instead. Is this
> correct?
Yes, e
Okay, just for clarity sake, what you are saying is that if I make the
FieldCache call it won't actually create and impose the loading time of the
FieldCache, but rather just use the NumericDocValuesField instead. Is this
correct?
Also, my similarity was extending SimilarityBase, and I can't see
Hello:
This call just "passes thru" to docvalues:
FieldCache.DEFAULT.getFloats(context.reader(), boostField, false)
if you want to call context.reader().getNumericDocValues... you could
do that too, but thats all its doing in this case.
On Mon, Aug 12, 2013 at 11:09 AM, Ross Woolf wrote:
>
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, Ro
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 wrote:
> The JavaDocs for NumericDocValuesField i