[
https://issues.apache.org/jira/browse/CALCITE-6725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Binhua Hu updated CALCITE-6725:
-------------------------------
Description: The connect method in ElasticsearchSchemaFactory did not set
a rest client timeout when creating a rest client (was: Elasticsearch
Constants class have already been defined in the elasticsearch-adapter module,
but the search endpoint in the ElasticsearchTransport class still directly uses
'_search', as shown below,
{code:java}
final HttpPost request = new HttpPost(URI.create("/_search/scroll")); {code}
which does not comply with the maintainability and standardization of the code)
> ElasticsearchSchemaFactory has no client timeout period
> --------------------------------------------------------
>
> Key: CALCITE-6725
> URL: https://issues.apache.org/jira/browse/CALCITE-6725
> Project: Calcite
> Issue Type: Bug
> Components: elasticsearch-adapter
> Reporter: Binhua Hu
> Assignee: Binhua Hu
> Priority: Major
>
> The connect method in ElasticsearchSchemaFactory did not set a rest client
> timeout when creating a rest client
--
This message was sent by Atlassian Jira
(v8.20.10#820010)