Package com.gentics.cr.lucene.facets.taxonomy.taxonomyaccessor

Examples of com.gentics.cr.lucene.facets.taxonomy.taxonomyaccessor.TaxonomyAccessor.release()


        status.setCurrentStatusString("Finished job.");
        int objectCount = status.getObjectsDone();
        log.debug("Indexed " + objectCount + " objects...");

        if (taxonomyAccessor != null && taxonomyWriter != null) {
          taxonomyAccessor.release(taxonomyWriter);
        }

        if (indexAccessor != null && indexWriter != null) {
          indexAccessor.release(indexWriter);
        }
View Full Code Here


        *
        * Always cleanup/release the taxonomy Reader/Writer
        * before the Reader/Writers of the main index!
        */
      if (taAccessor != null && taReader != null) {
        taAccessor.release(taReader);
      }
      if (facetsIndexReader != null) {
        indexAccessor.release(facetsIndexReader, false);
      }
      if (uniqueMimeTypesIndexReader != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.