{{description}}
datapackage-pipelines-elasticsearch的Python项目详细描述
针对数据包管道的弹性搜索扩展数据包管道的弹性搜索搜索
>
======================================
=>
>
>
;使用pip install
;或者克隆repo并安装pip
=====
=>
;或者使用pip安装数据包管道的弹性搜索
;或者使用
Git克隆https://github.com/friectionlessdata/datapackage pipelines elasticsearch.git
pip install-e.
usage
----
这个
…代码::yaml
…
-运行:elasticseach.dump.to_index
**`` dump.to_index``***
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
将数据包保存到elasticsearch实例。
*参数*:
-``engine``连接到elasticsearch实例的连接字符串(url语法)
`` env://<;environment variable>;``,这表示应该从指定的环境变量中获取连接字符串。
如果未指定,假定默认的“env://dpp_elasticsearch`
环境变量应采用“host:port”或“完全限定的url”(例如,
“https://user:pass@host:port<;https://user:pass@host:port>;`“或
”https://host:port<;https://host:port>;`“索引”等格式)
“索引”在资源和索引。KEY是索引
名称,值是具有以下属性的对象列表:
-“资源名称”-应该转入
表的资源名称:BR/> -'doc type ':索引docuMtNs
BR/>时使用的文档类型
>
======================================
=>
>
>
;使用pip install
;或者克隆repo并安装pip
=====
=>
;或者使用pip安装数据包管道的弹性搜索
;或者使用
Git克隆https://github.com/friectionlessdata/datapackage pipelines elasticsearch.git
pip install-e.
usage
----
这个
…代码::yaml
…
-运行:elasticseach.dump.to_index
**`` dump.to_index``***
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
将数据包保存到elasticsearch实例。
*参数*:
-``engine``连接到elasticsearch实例的连接字符串(url语法)
`` env://<;environment variable>;``,这表示应该从指定的环境变量中获取连接字符串。
如果未指定,假定默认的“env://dpp_elasticsearch`
环境变量应采用“host:port”或“完全限定的url”(例如,
“https://user:pass@host:port<;https://user:pass@host:port>;`“或
”https://host:port<;https://host:port>;`“索引”等格式)
“索引”在资源和索引。KEY是索引
名称,值是具有以下属性的对象列表:
-“资源名称”-应该转入
表的资源名称:BR/> -'doc type ':索引docuMtNs
BR/>时使用的文档类型