From 82fd2292d6b4cba79a64ee16aee9619444dd5efc Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 17 Jul 2013 20:09:45 -0700 Subject: [PATCH] Added reference --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 0f0678d..b701003 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,15 @@ rake searchkick:reindex CLASS=Product Thanks to Jaroslav Kalistsuk for the [original implementation](https://gist.github.com/jarosan/3124884). +### Reference + +Reindex one item + +```ruby +product = Product.find(1) +product.update_index +``` + ## Elasticsearch Gotchas ### Inconsistent Scores -- libgit2 0.21.0