Example usage for org.apache.lucene.index QueryTimeout interface-usage

List of usage examples for org.apache.lucene.index QueryTimeout interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.index QueryTimeout interface-usage.

Usage

From source file org.apache.solr.search.SolrQueryTimeoutImpl.java

/**
 * Implementation of {@link QueryTimeout} that is used by Solr. 
 * It uses a ThreadLocal variable to track the timeoutAt value
 * for each request thread.
 */
public class SolrQueryTimeoutImpl implements QueryTimeout {