Thanks Adrien, that's very helpful.

This is for https://github.com/flaxsearch/marple , so I guess what I'll do
is give the user the option to select a type from the possible options.


tel +44 8700 118334 : mobile +44 7876 741014 : skype tommortimer

On 28 March 2017 at 16:39, Adrien Grand <[email protected]> wrote:

> You could check the value of pointNumBytes in the FieldInfo. Ints/Floats
> will use 4 bytes while Longs/Doubles will use 8 bytes. However there is no
> way to discern doubles from longs or floats from ints, applications need to
> maintain some schema information on top of Lucene.
>
> Le mar. 28 mars 2017 à 17:29, Tom Mortimer <[email protected]> a écrit :
>
>> Hi,
>>
>> Probably a daft question, but is there any way to get the type (int,
>> long, float, etc.) of a PointValues field in an index, if you don't already
>> know it?
>>
>> cheers,
>> Tom
>>
>> tel +44 8700 118334 <+44%20870%20011%208334> : mobile +44 7876 741014
>> <+44%207876%20741014> : skype tommortimer
>>
>

Reply via email to