Commit 63543c0a by Carsten Brandt

enable mongo text search

parent 68323f64
...@@ -6,8 +6,7 @@ mongod --version ...@@ -6,8 +6,7 @@ mongod --version
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# version 2.6 has this enabled by default # enable text search
#sudo sh -c 'echo "setParameter = textSearchEnabled=true" >> /etc/mongodb.conf' mongo --eval 'db.adminCommand( { setParameter: true, textSearchEnabled : true})'
cat /etc/mongodb.conf
#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