Re: Adding applicative cache to SolrSearcher

2015-06-11 Thread adfel70
Works great, thanks guys! Missed the leafReader because I looked at IndexSearcher instead of SolrIndexSearcher... -- View this message in context: http://lucene.472066.n3.nabble.com/Adding-applicative-cache-to-SolrSearcher-tp4211012p4211183.html Sent from the Solr - User mailing list archive at

Re: Adding applicative cache to SolrSearcher

2015-06-10 Thread Chris Hostetter
: : The problem is SlowCompositeReaderWrapper.wrap(searcher.getIndexReader()); : you hardly ever need to to this, at least because Solr already does it. Specifically you should just use... searcher.getLeafReader().getSortedSetDocValues(your_field_anme) ...instead of doing all this wrapp

Re: Adding applicative cache to SolrSearcher

2015-06-10 Thread Mikhail Khludnev
Hello, The problem is SlowCompositeReaderWrapper.wrap(searcher.getIndexReader()); you hardly ever need to to this, at least because Solr already does it. DocValues need to be accessed per segment, leaf/atomic/reader/context provided to collector. eg look at DocTermsIndexDocValues.strVal(int) DocT