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

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
put that code. Is there a place > to plug that code so when a new searcher is being opened I can add my this > applicative cache? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Adding-applicative-cache-to-SolrSearcher-tp4211012.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com>

Adding applicative cache to SolrSearcher

2015-06-10 Thread adfel70
being opened I can add my this applicative cache? -- View this message in context: http://lucene.472066.n3.nabble.com/Adding-applicative-cache-to-SolrSearcher-tp4211012.html Sent from the Solr - User mailing list archive at Nabble.com.