Changeset 29664


Ignore:
Timestamp:
12/19/14 18:42:19 (6 years ago)
Author:
ak19
Message:

Noticed in a tutorial that close() must be called on a SolrQueryRequest object when it's no longer needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrQueryWrapper.java

    r29218 r29664  
    231231            logger.error("#### Query type was: " + parsedQuery.getClass());
    232232            }
     233            // http://lucene.apache.org/solr/4_7_2/solr-core/org/apache/solr/request/SolrQueryRequestBase.html#close%28%29
     234            // close() must be called when the object is no longer in use. Frees resources associated with this request
     235            solrQueryRequest.close();
    233236        }
    234237       
Note: See TracChangeset for help on using the changeset viewer.