Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public Response execute(ElasticsearchRequest request) throws IOException {
);
}
catch (ResponseException e) {
requestLog.debug( "ES client issued a ResponseException - not necessarily a problem", e );
/*
* The client tries to guess what's an error and what's not, but it's too naive.
* A 404 on DELETE is not always important to us, for instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private HttpAsyncClientBuilder customizeHttpClientConfig(String propertyPrefix,

private RequestConfig.Builder customizeRequestConfig(String propertyPrefix, Properties properties, RequestConfig.Builder builder) {
return builder
.setConnectionRequestTimeout( 0 ) //Disable lease handling for the connection pool! See also HSEARCH-2681
.setSocketTimeout( ConfigurationParseHelper.getIntValue(
properties,
propertyPrefix + ElasticsearchEnvironment.SERVER_READ_TIMEOUT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*<p>Adapt the classname filter as needed to run a single test or an entire test package.
*
* <p>Running such tests from the IDE will require having an Elasticsearch
* node running. You can easily start one by running 'mvn elasticsearch:run'
* node running. You can easily start one by running 'mvn elasticsearch:runforked'
* from the elasticsearch module in this project.
*
* @author Gunnar Morling
Expand Down