Skip to content

Instantly share code, notes, and snippets.

@mukulgupta2507
Created July 13, 2014 14:55
Show Gist options
  • Save mukulgupta2507/563fc7813c549a0ae6dc to your computer and use it in GitHub Desktop.
Save mukulgupta2507/563fc7813c549a0ae6dc to your computer and use it in GitHub Desktop.
Sample data for indexing and searching autocompleter
{
"_id": ObjectId("53c2890368103fc09aa86632"),
"title": "ElasticSearch The Definitve Guide",
"isbn": "9781449358549",
"author": "Clinton Gormley",
"category": "Technology",
"rating": 4
}
{
"_id": ObjectId("53c2896168103fc09aa86633"),
"title": "A Christmas Carol",
"isbn": "754628293",
"author": "Charles Dickens",
"category": "fiction",
"rating": 5
}
{
"_id": ObjectId("53c2899368103fc09aa86634"),
"title": "Mastering ElasticSearch",
"isbn": "754628212",
"author": "Marek Rogozinski",
"category": "Technology",
"rating": 4
}
{
"_id": ObjectId("53c289e768103fc09aa86635"),
"title": "Elasticsearch in Action",
"isbn": "9781617291",
"author": "Radu Gheorghe",
"category": "Technology",
"rating": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment