On Mon, Feb 14, 2022 at 06:25:41PM +0800, weijihui wrote:
On Fri, Feb 11, 2022 at 06:51:34PM +0800, Wu Fengguang wrote:
On Thu, Feb 10, 2022 at 09:25:37PM +0800, Wei Jihui wrote:
From: Wei Jihui weijihuiall@163.com
- /data_api/es/:index/_search is es search by dsl
- /data_api/es/:index/_search_by_sql is es search by sql
建议用 /data_api/_opendistro/_sql
但是现在用的不是这个接口,用的是https://github.com/NLPchina/elasticsearch-sql
两个repo有继承性,基本是兼容的。 要么也可以用NLPchina的接口,怎么也比现在的这个好:
2. /data_api/es/:index/_search_by_sql is es search by sql
Thanks, Fengguang
On Mon, Feb 14, 2022 at 07:21:33PM +0800, Wu Fengguang wrote:
On Mon, Feb 14, 2022 at 06:25:41PM +0800, weijihui wrote:
On Fri, Feb 11, 2022 at 06:51:34PM +0800, Wu Fengguang wrote:
On Thu, Feb 10, 2022 at 09:25:37PM +0800, Wei Jihui wrote:
From: Wei Jihui weijihuiall@163.com
- /data_api/es/:index/_search is es search by dsl
- /data_api/es/:index/_search_by_sql is es search by sql
建议用 /data_api/_opendistro/_sql
但是现在用的不是这个接口,用的是https://github.com/NLPchina/elasticsearch-sql
两个repo有继承性,基本是兼容的。 要么也可以用NLPchina的接口,怎么也比现在的这个好:
2. /data_api/es/:index/_search_by_sql is es search by sql
好的,那就用这个/data_api/es/:index/_nlpcn/sql 指向原始的接口
Thanks, Jihui
Thanks, Fengguang