6

有谁知道我在哪里可以找到弹性搜索的可下载手册(任何格式)?http://www.elasticsearch.org/guide/是可以的,但是有时候网站不可达,搜索内容也不实用。

4

4 回答 4

6

不是我知道的。如果您遇到无法访问的问题,您可以在本地分叉并运行该站点,顺便说一句,这对我来说从未发生过。它在 github 上可用:https ://github.com/elastic/elasticsearch/tree/master/docs

于 2012-08-02T11:47:58.103 回答
2

克隆 repo 是没用的。您无法构建他们的文档,因为 build --all 命令的 asciidoc 文件受访问保护。

唯一的解决方案是抓取他们的网站,例如使用 wget:

wget -r -l1 --page-requisites -N --convert-links -E robots=off "https://www.elastic.co/guide/en/elasticsearch/reference/6.5/index.html"

index.html 包含 doc 子目录的所有链接,因此您可以指定-l1哪些将使 wget 仅抓取一级深度

请注意,您不能在已抓取的文档上使用搜索功能,因为后台没有运行服务器

于 2019-03-09T08:26:29.270 回答
1

Semi related and perhaps helpful - ES docs are available as a DocSet for the Dash MacOS and iOS app for offline docs. May or may not be useful but I find it great for travel. It cost $ but can be used for free as well.

于 2019-10-31T21:59:43.043 回答
-1

这是他们产品的所有文档的 GitHub 存储库: https ://github.com/elastic/docs

请注意回购中的以下免责声明:

Conditions of use
This documentation build process is provided to the public purely for the
purpose of testing documentation changes before submitting pull requests to
the appropriate Elasticsearch repository.

The documents produced by this build process may be published only on 
http://www.elastic.co. They may not be published in any other form or on
any other website without explicit permission.
于 2018-03-02T04:42:38.803 回答