you can call getSortedDocValues() right from reader On Sat, Jul 11, 2015 at 10:18 PM, Nickolay41189 <klin892...@yandex.ru> wrote:
> In lucene-4.10.1 for to get *SortedDocValues *I used this code: > > SolrIndexSearcher searcher = request.getSearcher(); > AtomicReader reader = searcher.getAtomicReader(); > SortedDocValues sourceIndex = FieldCache.DEFAULT.getTermsIndex(reader, > fieldName); > > It worked fine, but now I don't understand what to do with this code. I > read > in another forums: > > "FieldCache is gone (moved to a dedicated *UninvertingReader *in the misc > module)" > > But what does it mean? Can I use *UninvertingReader *or not? How do I use > it? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-get-SortedDocValues-in-lucene-5-2-1-tp4216858.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>