/elasticsearch-in-action

Offical code repository for the Elasticsearch in Action book from Manning

Primary LanguageShell

This repository contains the code examples from the book Elasticsearch in Action.

When do I need them?

Because it's nice to have some sample data to run various searches from the book's listings. Throughout most chapters, there's an example use-case of running a get-together site, where you have people organizing themselves into groups and hosting events. Code samples provide you with some data and a script to index that data.

How do I index the sample data?

# clone the repository
git clone https://github.com/dakrone/elasticsearch-in-action.git

# OR, if using Elasticsearch 5.0+, use the 5.x branch
git clone https://github.com/dakrone/elasticsearch-in-action.git -b 5.x

# index the sample data
elasticsearch-in-action/populate.sh

I have questions or suggestions for these samples

You have feedback? We'd be glad to hear it from you on the book's forum. You can also send pull requests or open issues on this repository.

Happy reading and Elasticsearch-ing!