Xóa bài viết
Bạn có chắc chắn muốn xóa bài viết này không ?
Xóa bình luận
Bạn có chắc chắn muốn xóa bình luận này không ?
Angular 12 ElasticSearch – Quick Start – How to add Elasticsearch.js
Angular 12 ElasticSearch – Quick Start – How to add Elasticsearch.js
In this tutorial, we're gonna look at how to add ElasticSearch to an Angular 12 Project.
Related Posts:
- Angular 12 ElasticSearch example – Add Document to Index
- Angular 12 ElasticSearch example – Get All Documents in Index
- Angular 12 ElasticSearch example – Documents Pagination with Scroll
- Angular 12 ElasticSearch example – simple Full Text Search
** Elasticsearch Tutorials **
Install ElasticSearch
Go to ElasticSearch guide - Getting Started » Installation and follow step by step to install ElasticSearch.
Test local install of ElasticSearch
- by command line:
curl -XGET localhost:9200
- or enter
http://localhost:9200/
url on your Browser.
The result should be like this:
{
"name":"first_node_test",
"cluster_name":"elasticsearch",
"cluster_uuid":"E8eoz-uWT0Gxi-ygUIB10Q",
"version":{
"number":"6.3.2",
"build_flavor":"unknown",
"build_type":"unknown",
"build_hash":"053779d",
"build_date":"2018-07-20T05:20:23.451332Z",
"build_snapshot":false,
"lucene_version":"7.3.1",
"minimum_wire_compatibility_version":"5.6.0",
"minimum_index_compatibility_version":"5.0.0"
},
"tagline":"You Know, for Search"
}
Add ElasticSearch to Angular 12 Project
1. Install the type definition
Run command:
npm install --save-dev @types/elasticsearch
You will see an elasticsearch directory in node_modules folder:
More at:
Angular 12 ElasticSearch – Quick Start – How to add Elasticsearch.js
Bình luận

{{ comment.user.name }}
Bỏ hay
Hay

Cùng một tác giả

1
0
Tutorial Link: (Link) (Ảnh) Django is a Pythonbased free and opensource web framework that follows the modeltemplateview architectural pattern. A...

1
0
https://loizenai.com/angular11nodejspostgresqlcrudexample/ Angular 11 Node.js PostgreSQL Crud Example (Ảnh) Tutorial: “Angular 11 Node.js Postg...

1
0
Angular Spring Boot jwt Authentication Example Github https://loizenai.com/angularspringbootjwt/ (Ảnh) Tutorial: ” Angular Spring Boot jwt Authe...
Bài viết liên quan

0
0
https://grokonez.com/angular12springbootwebsocket The WebSocket protocol provides new capability for web applications: fullduplex, twoway communi...

3
2
1. Elasticsearch là gì? Elasticsearch là công cụ tìm kiếm và lưu trữ toàn văn bản, có khả năng mở rộng cao. Nó cho phép chúng ta lưu trữ, tìm kiếm...