/esninja

Best practices for product search in English and Thai using Elasticsearch

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

esninja

Best practices for product search in English and Thai using Elasticsearch

Getting Started

  1. Install Elastic tack. For this tutorial we only need:
  1. Run elasticsearch locally (default port is 9200), in elasticsearch folder:
./bin/elasticsearch
  1. Import the sample .csv file into elasticsearch using logstash (see field data types for reference):
#do not forget to change path to files in tops_sample.conf
logstash -f tops_sample.conf
  1. Run kibana for the local elasticsearch instance (default port is 5601), in kibana folder:
./bin/kibana
  1. Run tops_sample_optimized.json on kibana to create new mappings with optimized analyzers.

  2. Follow tops_sample_dev.json for how to configure mappings, settings and queries.

Docker

Run elastic stack with below command.

docker-compose up

Miscellaneous Ninja Tools