http://docs.mongodb.org/manual/tutorial/enable-text-search/
This doc says, we can specify this in the configuration file
You can enable the text search feature at startup with the textSearchEnabled parameter:
mongod --setParameter textSearchEnabled=true
You may prefer to set the textSearchEnabled parameter in the configuration file.
I tried to specify this in the configuration file like this:
textSearchEnabled=true
But it didnt work. Does anyone know the correct syntax for this?
dbPath is /var/lib/mongodb; this setting specifies where MongoDB should store its files. systemLog. path is /var/log/mongodb/mongod. log; this is the path where mongod will write its output.
setParameter=textSearchEnabled=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With