Hi,

I have a corpus where each document contains a field of type Float.

I'm trying to write a PostFilter that returns a DelegatingCollector to
filter all the docs where the value of a function applied to this float
value is lower than a given threshold. I can't precompute/index anything
here.

I have just found that calling IndexReader to read a single document and
then read the stored field of type float that I need is quite expensive so
I was thinking to load all of them at once using:

 LeafReader.numericDocValues($my_float_field_name_here)

Turns out that NumericDocValues only supports long!

How can I access all my float values in the same way ???

Best
Ugo

Reply via email to