Description
I tried to sort on some various docvalues fields (just byte arrays), a few problems:
- Sort.TYPE.BYTES always throws an exception (its not in the switch?)
- only Sort.TYPE String,Float,Int actually honor 'useDocValues'. This is pretty screwy,
why don't the others? at least we should throw an exception and don't try to uninvert something.
In general i dont like the useDocValues: I think this should be done another way...
Attachments
Issue Links
- is part of
-
LUCENE-4547 DocValues field broken on large indexes
- Closed
- is related to
-
LUCENE-3862 DocValues getInt() returns long, getFloat() returns double
- Open
-
LUCENE-3192 SortField.INT / SortField.FLOAT inconsistency with DocValues
- Open