org.hibernate.search.backend.lucene.cache.QueryCachingConfigurer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-backend-lucene Show documentation
Show all versions of hibernate-search-backend-lucene Show documentation
Hibernate Search Backend relying on embedded instances of Lucene
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.backend.lucene.cache;
import org.hibernate.search.backend.lucene.cfg.LuceneBackendSettings;
/**
* A configurer for query caching.
*
* Users can select a configurer through the
* {@link LuceneBackendSettings#QUERY_CACHING_CONFIGURER configuration properties}.
*/
public interface QueryCachingConfigurer {
/**
* Configures query caching as necessary using the given {@code context}.
* @param context A context exposing methods to configure caching.
*/
void configure(QueryCachingConfigurationContext context);
}