Commit 63543c0a by Carsten Brandt

enable mongo text search

parent 68323f64
......@@ -6,8 +6,7 @@ mongod --version
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# version 2.6 has this enabled by default
#sudo sh -c 'echo "setParameter = textSearchEnabled=true" >> /etc/mongodb.conf'
cat /etc/mongodb.conf
# enable text search
mongo --eval 'db.adminCommand( { setParameter: true, textSearchEnabled : true})'
#sudo service mongodb restart
cat /etc/mongodb.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment