Re: Docvalue - Sorting on Numeric Docvalue

2017-03-27 Thread Adrien Grand
The "Sorted" in "SortedNumericDocValuesField" is about the fact that per-document values are returned in numeric order. For instance if you index two values for a document, the insertion order will be ignored and when you will pull sorted numeric doc values on a LeafReader, values for that document

Docvalue - Sorting on Numeric Docvalue

2017-03-24 Thread aravinth thangasami
Hi all, I'm analysing sorting using doc values. Please correct me if I am wrong 1.In SortedNumericDocvalueField, the sorting apply across field, not across segment 2.While Sorting the SortedNumericSelector forms a NumericDocvalue from SortedSetDocvaluesField So, I thought for a SinglevalueFiel