Skip to content

behroozk/node-elasticsearch-tutorial

Repository files navigation

Elasticsearch in Node.js Examples


This repo contains examples on how to use elasticsearch in Node.js to create search functionalities.

To clone this repo in your machine:

git clone https://github.com/behroozk/node-elasticsearch-tutorial.git

Then, to download all the requirements:

npm install

Here is a list of all the files in this repo:

  1. data.json: sample data file
  2. index.js: script for indexing the data in elasticsearch
  3. search.js: search functionality
  4. filter.js: basic filter functionality
  5. aggregations.js: demonstration of how aggregations work
  6. suggest.js: script for generating suggestions for search terms

About

Examples for setting up and using elasticsearch in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published