title: Possible to specify which text index field to search in MongoDB on a REST call using Eve?
body: <p>I'm allowing the user to type in a text query for searching for specific documents in my 'names' collection in MongoDB. I'm using 'Eve' for the API layer that connects my React frontend to my mongoDB. I have specified the text index along with what fields should be text searchable in the following code:</p>
  <pre><code>'mongo_indexes' : {
          'text': ([
              ('names.firstName.text', 'text'),
              ('names.middleName.text', 'text'),
              ('names.lastName.text', 'text'),
          ])
      }
  </code></pre>
  <p>This will allow the user to get all the documents back that have the user specified text query in all three of these fields. However, in cases where I only want to do a text search on one of these three fields, how could I go about handling this without having to create and re-create the text index? For this will slow down database performance. Can I change the mongo_indexes and which fields to use a REST call for example?</p>