From 72c3ad2acc200e8137f2cd844ef7c894fd06a6f9 Mon Sep 17 00:00:00 2001 From: Rocky Duan Date: Wed, 15 Aug 2012 12:50:30 -0700 Subject: [PATCH] updated doc --- doc/discussion.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/discussion.md b/doc/discussion.md index def78012f9..4f8ab9a01a 100644 --- a/doc/discussion.md +++ b/doc/discussion.md @@ -138,7 +138,9 @@ For instance, if you want to generate comments for a new discussion tab named "l bundle exec rspec -Warning: due to an unresolved bug in the test code, testing the service will "flush" the development database. So you need to generate seed again after testing. +Warning: the development and test environments share the same elasticsearch index. After running tests, search may not work in the development environment. You simply need to reindex: + + bundle exec rake db:reindex_search ### debugging the service