Skip to content

Instantly share code, notes, and snippets.

@ericlewis
Created March 4, 2013 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericlewis/5086368 to your computer and use it in GitHub Desktop.
Save ericlewis/5086368 to your computer and use it in GitHub Desktop.
Hacky way of using mongoDB 2.4RC1's FTS (full text search) in Mongoose w/ node.js
Model_to_use.db.db.executeDbCommand({text: "collection_name", search: "term_to_search"}, function(err,response){ ... });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment