Hello, Giving the code https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/schema/TrieField.java#L727 it creates NumericDocValuesField only. try to define field as multivalued, giving the code it creates SortedSetDocValuesField.
On Wed, Aug 19, 2015 at 11:13 PM, tedsolr <tsm...@sciquest.com> wrote: > One error (others perhaps?) in my statement ... the code > > searcher.getLeafReader().getSortedDocValues(field) > > just returns null for numeric and date fields. That is why they appear to > be > ignored, not that the ordinals are all absent or equivalent. But my > question > is still valid I think! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-find-the-ordinal-for-a-numeric-doc-value-tp4224018p4224037.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>