Examples of TaxonomyAccessorFactory


Examples of com.gentics.cr.lucene.facets.taxonomy.taxonomyaccessor.TaxonomyAccessorFactory

    useFacets = config.getBoolean(FACET_FLAG_KEY, useFacets);
    if (useFacets) {
      log.debug("Facets are active");
      taxonomyLocation = retrieveTaxonomyLocation(config);
      taxonomyDir = createDirectory(taxonomyLocation, config);
      TaxonomyAccessorFactory taFactory = TaxonomyAccessorFactory.getInstance();
      if (!taFactory.hasAccessor(taxonomyDir)) {
        try {
          taFactory.createAccessor(config, taxonomyDir);
        } catch (IOException e) {
          log.fatal("COULD NOT CREATE TAXONOMY ACCESSOR" + e.getMessage());
        }
      } else {
        log.debug("TaxonomyAccessor already present.");
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.