【文件属性】:
文件名称:mongodb-with-elasticsearch:将ElasticSearch与MongoDB结合使用以创建即时搜索Webbapp
文件大小:68KB
文件格式:ZIP
更新时间:2021-05-04 11:54:30
JavaScript
将ElasticSearch与MongoDB结合使用以创建即时搜索Webbapp
1.安装NodeJS
$ sudo apt-get install nodejs
$ sudo apt-get install npm
2.安装凉亭
$ sudo npm install -g bower
3.安装MongoDB
$ sudo apt-get install mongodb
4. MongoDB River插件(连接到MongoDB的驱动程序)
打开
注意MongoDB,ElasticSearch和MongoDB River插件的版本
5.安装ElasticSearch
下载ElasticSearch: ://www.elasticsearch.org/overview/elkdownloads/
检查MongoDB版本是否匹配ElasticSearch和MongoDB Rive
【文件预览】:
mongodb-with-elasticsearch-master
----tsd.json(1KB)
----public()
--------img()
--------js()
----views()
--------blank-layout.jade(78B)
--------error.jade(228B)
--------index.jade(199B)
----server.js(2KB)
----bower.json(402B)
----scripts()
--------init_sharded_env.24825a3cb9f2.sh(4KB)
----server.js.map(3KB)
----README.md(4KB)
----typings()
--------serve-favicon()
--------body-parser()
--------tsd.d.ts(438B)
--------form-data()
--------serve-static()
--------node()
--------morgan()
--------debug()
--------cookie-parser()
--------mime()
--------request()
--------express()
----.bowerrc(38B)
----.gitignore(35B)
----server.ts(2KB)
----routes()
--------search.js.map(916B)
--------index.ts(307B)
--------search.js(744B)
--------search.ts(802B)
--------index.js.map(394B)
--------index.js(297B)
----package.json(760B)