On Wed, Nov 19, 2014 at 8:37 AM, Priya Rodrigues <roddied...@gmail.com> wrote:
> public void setContext( TransformContext context ) {
>     try {
>       IndexReader reader = qparser.getReq().getSearcher().getIndexReader();
> ->Refcount incremented

You can get a searcher from the request as many times as you like...
it's cached and the ref count is only incremented the first time (and
the corresponding decref is when the request object is closed).

-Yonik
http://heliosearch.org - native code faceting, facet functions,
sub-facets, off-heap data

Reply via email to