Re: Clarfication on using Docvalues

2017-03-01 Thread Adrien Grand
It is possible to sort binary fields by using SortField.Type.STRING_VAL. Le lun. 27 févr. 2017 à 17:51, aravinth thangasami < aravinththangas...@gmail.com> a écrit : > Hi all, > > I'm trying to implement sort using DocValues. > As SortedDocValue is equivalent of pre-sorted BinaryDocvalue and > So

Re: Lucene 6: Recommended way to store numeric values, given the need to form term vocabulary?

2017-03-01 Thread Adrien Grand
Hi Maros, Do you need to perform range queries? If not, you could index those numbers like regular strings with StringField. If yes, it is also possible with points by returning INTERSECTS all the time in the intersect visitor, the downside you might not like is that it is a push API while the Te

Lucene 6: Recommended way to store numeric values, given the need to form term vocabulary?

2017-03-01 Thread Maros Urbanec
Lucene beginner here, please excuse me if I’m asking anything obvious. In Lucene 6, LongField and IntField were renamed to LegacyLongField and LegacyIntField, deprecated with a JavaDoc suggestion to use LongPoint and IntPoint classes instead. However, it seems impossible to build a term vocabul