Example usage for org.apache.lucene.search SearcherFactory subclass-usage

List of usage examples for org.apache.lucene.search SearcherFactory subclass-usage

Introduction

In this page you can find the example usage for org.apache.lucene.search SearcherFactory subclass-usage.

Usage

From source file com.b2international.index.lucene.SearchWarmerFactory.java

/**
 * A customized {@link SearcherFactory} which executes a very light query
 * (matching no known documents) to initialize internal data structures of the
 * returned {@link IndexSearcher}.
 */
public class SearchWarmerFactory extends SearcherFactory {

From source file com.qahit.jbug.MySearchWarmer.java

/**
 * Warms up the {@link IndexReader} before sending it back
 */
class MySearchWarmer extends SearcherFactory {

    private static final Logger log = Logger.getLogger(MySearchWarmer.class);

From source file com.xiaomi.linden.core.search.ParallelSearcherFactory.java

public class ParallelSearcherFactory extends SearcherFactory {
    private ExecutorService executor;

    public ParallelSearcherFactory(ExecutorService executor) {
        this.executor = executor;
    }

From source file org.apache.maven.index.context.NexusIndexSearcherFactory.java

public class NexusIndexSearcherFactory extends SearcherFactory {
    private final IndexingContext context;

    public NexusIndexSearcherFactory(final IndexingContext context) {
        this.context = context;
    }

From source file org.elasticsearch.index.engine.EngineSearcherFactory.java

/**
 * Basic Searcher factory that allows returning an {@link IndexSearcher}
 * given an {@link IndexReader}
 */
public class EngineSearcherFactory extends SearcherFactory {

From source file org.elasticsearch.index.engine.RamAccountingSearcherFactory.java

/**
 * Searcher factory extending {@link EngineSearcherFactory} that tracks the
 * amount of memory used by segments in the accounting circuit breaker.
 */
final class RamAccountingSearcherFactory extends SearcherFactory {

From source file org.meresco.lucene.MerescoSearchFactory.java

public class MerescoSearchFactory extends SearcherFactory {
    private ExecutorService executor = null;
    private LuceneSettings settings;

    public MerescoSearchFactory(Directory indexDirectory, Directory taxoDirectory, LuceneSettings settings)
            throws IOException {

From source file org.opengrok.indexer.configuration.ThreadpoolSearcherFactory.java

/**
 * Factory for producing IndexSearcher objects.
 * This is used inside getIndexSearcher() to produce new SearcherManager objects
 * to make sure the searcher threads are constrained to single thread pool.
 * @author vkotal
 */

From source file org.opensolaris.opengrok.configuration.ThreadpoolSearcherFactory.java

/**
 * Factory for producing IndexSearcher objects.
 * This is used inside getIndexSearcher() to produce new SearcherManager objects
 * to make sure the searcher threads are constrained to single thread pool.
 * @author vkotal
 */