db6heg
Last Updated: February 25, 2016
·
690
· thomaspeklak

Use MongoDB 2.4's text search with TravisCI

MongoDB hides it's text search behind a flag, that is disabled by default. To activate it for Travis you need to put this in your travis.yml

services: mongodb
before_install:
  - "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin"