mongoose index already exists with different options
<p>I am implementing search result view to my app.
I figured out that mongoose internally provide full text search function with $text.</p>

<p>I put the code below to Post.js</p>

<pre><code>PostSchema.index({desc: 'text'}); //for example
</code></pre>

<p>Here's the code I put in my routing file route/posts.js</p>

<pre><code>Post.find({$text: {$search : 'please work!'}}).exec(function (err, posts) {...}) 
</code></pre>

<p>The error message I come up with is below</p>

<pre><code>Index with pattern: { _fts: "text", _ftsx: 1 } already exists with different options
</code></pre>

<p>Would there any body who know how to deal with this error and figure out?
Thanks you.</p>