Re: How to get SortedDocValues in lucene-5.2.1

2015-07-12 Thread Mikhail Khludnev
To be honest, I've never consider it as a problem, beside of https://issues.apache.org/jira/browse/SOLR-7730 On Sun, Jul 12, 2015 at 5:58 AM, Nickolay41189 wrote: > But what about using cache? In my old code I used it. I need the same > functionality. > > > > -- > View this message in context:

Re: How to get SortedDocValues in lucene-5.2.1

2015-07-11 Thread Nickolay41189
But what about using cache? In my old code I used it. I need the same functionality. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-get-SortedDocValues-in-lucene-5-2-1-tp4216858p4216869.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to get SortedDocValues in lucene-5.2.1

2015-07-11 Thread Mikhail Khludnev
that's how dig guys do it https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/request/DocValuesFacets.java#L77 On Sat, Jul 11, 2015 at 11:12 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > you can call getSortedDocValues() right from reader > > On Sat,

Re: How to get SortedDocValues in lucene-5.2.1

2015-07-11 Thread Mikhail Khludnev
you can call getSortedDocValues() right from reader On Sat, Jul 11, 2015 at 10:18 PM, Nickolay41189 wrote: > In lucene-4.10.1 for to get *SortedDocValues *I used this code: > > SolrIndexSearcher searcher = request.getSearcher(); > AtomicReader reader = searcher.getAtomicReader(); > SortedDocValu

How to get SortedDocValues in lucene-5.2.1

2015-07-11 Thread Nickolay41189
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