Searched defs:timeout (Results 1 - 6 of 6) sorted by relevance

/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DSolrEntityProcessor.java61 public static final String TIMEOUT = "timeout";
72 private int timeout = TIMEOUT_SECS; field in class:SolrEntityProcessor
137 this.timeout = Integer.parseInt(timeoutAsString);
189 solrQuery.setTimeAllowed(timeout * 1000);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/update/
H A DAutoCommitTest.java82 boolean waitForNewSearcher(int timeout) { argument
83 long timeoutTime = System.currentTimeMillis() + timeout;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DTimeLimitingCollector.java27 * The {@link TimeLimitingCollector} is used to timeout search requests that
62 private long timeout = Long.MIN_VALUE; field in class:TimeLimitingCollector
70 * Create a TimeLimitedCollector wrapper over another {@link Collector} with a specified timeout.
103 timeout = t0 + ticksAllowed;
116 * A non greedy collector, upon a timeout, would throw a {@link TimeExceededException}
145 if (timeout < time) {
151 throw new TimeExceededException( timeout-t0, time-t0, docBase + doc );
179 * reset the timer for each phase. Once time is up subsequent phases need to timeout quickly.
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/impl/
H A DCommonsHttpSolrServer.java279 // ourselves, the potential non-timeout latency could be as
528 * @param timeout Timeout in milliseconds
530 public void setConnectionTimeout(int timeout) { argument
531 getConnectionManager().getParams().setConnectionTimeout(timeout);
535 * @param timeout Timeout in milliseconds
538 public void setConnectionManagerTimeout(int timeout) { argument
539 _httpClient.getParams().setConnectionManagerTimeout(timeout);
543 * Sets soTimeout (read timeout) on the underlying
547 * @param timeout Timeout in milliseconds
549 public void setConnectionManagerTimeout(long timeout) { argument
560 setSoTimeout(int timeout) argument
[all...]
H A DHttpSolrServer.java244 // ourselves, the potential non-timeout latency could be as
427 * @param timeout
430 public void setConnectionTimeout(int timeout) { argument
431 HttpConnectionParams.setConnectionTimeout(httpClient.getParams(), timeout);
435 * Sets HttpConnectionParams.setSoTimeout (read timeout). This is desirable
438 * @param timeout
441 public void setSoTimeout(int timeout) { argument
442 HttpConnectionParams.setSoTimeout(httpClient.getParams(), timeout);
H A DLBHttpSolrServer.java46 * If a request to a server fails by an IOException due to a connection timeout or read timeout then the host is taken
157 public void setConnectionTimeout(int timeout) { argument
158 httpClient.getHttpConnectionManager().getParams().setConnectionTimeout(timeout);
164 public void setConnectionManagerTimeout(int timeout) { argument
165 httpClient.getParams().setConnectionManagerTimeout(timeout);
169 * set soTimeout (read timeout) on the underlying HttpConnectionManager. This is desirable for queries, but probably
172 public void setSoTimeout(int timeout) { argument
173 httpClient.getParams().setSoTimeout(timeout);

Completed in 19 milliseconds