lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: Clarfication on using Docvalues
Date Wed, 01 Mar 2017 23:37:34 GMT
It is possible to sort binary fields by using SortField.Type.STRING_VAL.

Le lun. 27 févr. 2017 à 17:51, aravinth thangasami <
aravinththangasami@gmail.com> a écrit :

> Hi all,
>
> I'm trying to implement sort using DocValues.
> As SortedDocValue is equivalent of pre-sorted BinaryDocvalue and
> SortedNumericDocvalue is pre-sorted version of NumericDocvalue
>
> I'm able to sort on NumericDocvalue Field but not on BinaryDocValue Field
> Why Lucene allows sorting NumericDocValue field not in BinaryDocValue
> though both internally stored as byte array
>
> BinaryDocValue has field inverting cost
> Does NumericDocValue doesn't have any inverting cost ??
>
> Is there any other reason to support on NumericDocvalues
>
>
>
> Thanks
> Aravinth
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message