What is the proper way to convert the value coming from SortedSetDocValues for a numeric field (Int/Long/Float/Double) to their actual numeric values... Basically I can get the ByteRef filled in with lookupOrd(...) but what is the proper way to take the contents of the BytesRef and get the int/long/etc.. value back from it?
thanks, steve