These are chat archives for LearnBoost/mongoose

17th
Mar 2015
Valeri Karpov
@vkarpov15
Mar 17 2015 00:36
@jrthib yep. You can either do schema.index({ field: 'text' }); or new Schema({ field: { type: 'String', index: 'text' } }); to create a text index. Other than that, same syntax as in node driver (see http://thecodebarbarian.com/2014/04/10/a-nodejs-perspective-on-whats-new-in-mongodb-2-6-part-i-text-search)
Joseph Thibeault
@jrthib
Mar 17 2015 17:07
awesome
thanks @vkarpov15