You are right. You shouldn't run any extra commands if you set the tab as indexed.
You are right. You shouldn't run any extra commands if you set the tab as indexed.
thks for your confirmation.
in case I need to set a field as index dynamically, and remove it when query has been performed, could I however use :
1/ dbName.collectionName.createIndex({'fieldName':1});
2/ // run query code
3/ dbName.collectionName.dropIndex({'fieldName':1});
tell me,
thks in advance,
Eric
Hello,
This is to update you on your question.
I have heard back from our service team about your instance. I was informed that such realization is impossible.
well, the built-in indexation in ManageIndex doesn't seem speeding up that much the query treatment thk you anyway