Hi Puneeth,

Doubles are always a bit more tricky due to rounding for arithmetic
operations, but this should still be doable.

Out of curiosity, what sort of data do your double fields store? This
query had been added with the idea that it would be useful for
timestamp fields in order to boost hits by recency. What is your
use-case for adding similar functionality to double fields?

On Wed, Mar 23, 2022 at 12:38 AM Puneeth Bikkumanla
<pbikkuma...@gmail.com> wrote:
>
> Hello,
> I was wondering if there is anything similar to the
> LongDistanceFeatureQuery for DoublePoint. We are currently converting our
> doubles into longs in order to use this feature but would like to switch
> off of that. If nothing exists, are there any immediate challenges that
> people foresee for implementing a "DoubleDistanceFeatureQuery" for
> DoublePoint?



-- 
Adrien

---------------------------------------------------------------------
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