练习:
概念验证;目前共享云端硬盘上有 1000 多个文档(Word 和 PDF),用户手动搜索和通过 Windows 搜索这个想法是通过弹性搜索来存储和检索文档(全部或部分MS word或pdf以及一些元数据,例如作者,标题,创建日期等)。
到目前为止,我已经在我的机器上安装了弹性搜索和 git bash,并创建了一些文档,如下所示
curl -XPUT 'localhost:9200/irs_grants/grant/2?pretty' -d '
{
"StudyTitle": "Identification of this and that",
"ReferenceNumber": "09/125487",
"PrincipalInvesigator": "Dr Smith",
"ResearchTheme": "Cancer",
"OrganisationType": "BRC",
"OrganisationName": "Newcastle BRC"
}'
运行一些查询...我知道如何检索部分或整个弹性搜索文档。
下一步是安装一个像 elasticsearch head 这样的 webfront,并开始向用户展示基本弹性搜索安装的强大功能。
问题
所在在遵循(显然我缺少一些东西)Elasticsearch-head插件的安装说明之后,然后在我的浏览器上打开localhost:9200
,我得到这个:
{
"status" : 200,
"name" : "Katie Power",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "1.4.2",
"build_hash" : "927caff6f05403e936c20bf4529f144f0c89fd8c",
"build_timestamp" : "2014-12-16T14:11:12Z",
"build_snapshot" : false,
"lucene_version" : "4.10.2"
},
"tagline" : "You Know, for Search"
}
你能帮忙吗?
使用此 URL 在本地计算机上进行弹性搜索http://localhost:9200/_plugin/head
如果缺少头插件,请通过此命令从 elasticsearch bin 目录安装它
bin/plugin.bat -install mobz/elasticsearch-head