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.");