>>*There are lot's of docs with the same value, I mention that because I supose that same value has nothing to do with the number of un-inverted term instances. It has to do, I've been able to reproduce teh error by setting different values to each field:
HTTP Status 500 - there are more terms than documents in field "date", but it's impossible to sort on tokenized fields java.lang.RuntimeException: there are more terms than documents in field "id", but it's impossible to sort on tokenized fields at org.apache.lucene.search.FieldCacheImpl$StringIndexCache.createValue(FieldCacheImpl.java:706)... But, it's already fixed for Lucene 2.9.4, 3.0.3, 3.1, 4.0 versions: https://issues.apache.org/jira/browse/LUCENE-2142 -- View this message in context: http://lucene.472066.n3.nabble.com/performance-sorting-multivalued-field-tp905943p921752.html Sent from the Solr - User mailing list archive at Nabble.com.