[
https://issues.apache.org/jira/browse/CALCITE-6725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Binhua Hu updated CALCITE-6725:
-------------------------------
Description:
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
> The code specification issue of search endpoint in elasticsearch module
> -----------------------------------------------------------------------
>
> 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
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)