Skip to content

Exercises in Petition analysis with Elasticsearch and Node

License

Notifications You must be signed in to change notification settings

pratapsinghyadav/petitioneering

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petitioneering

These files complement a series of articles at compose.com on getting started with Elasticsearch and Node.js.

Part 1 covers creating an Elasticsearch deployment and using Node to connect to it, index some documents and performing a simple text search. constituencies.js and constituencies.json are used in Part 1.

In part 2 we take a look at mappings in Elasticsearch, and the differences between analyzed and non-analyzed fields.

Part 3 looks at nested datatypes and includes a brief introduction to queries. petitions.json is used in Part 3.

Part 4 walks you through how to query on nested fields and sort your results.

In part 5 we create an application and deploy it using IBM Bluemix. The files in the app/ directory are not required as you'll be able to create and run your own app by working through this part, but you can refer to the files here for guidance or if you just want to download and explore the app.

To see the app in action you can try our version here: Petitioneering

About

Exercises in Petition analysis with Elasticsearch and Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.4%
  • CSS 15.6%
  • HTML 14.0%