Kiran
Kiran

Reputation: 2417

How to set index type 'text' using mongodb compass?

I am currently using mongodb compass, I want to create index with type 'text'. I followed steps given on https://docs.mongodb.com/manual/indexes/#single-field. However, I failed to create index with type 'text'. In compass GUI, dropdown titled 'Select a type' does not show type 'text' in it's dropdown. Am I missing anything ?

Thanks, in advance.

Upvotes: 25

Views: 5685

Answers (1)

Techgeek
Techgeek

Reputation: 260

This is a bug. And you can also provide the feedback on https://feedback.mongodb.com/ to fix this issue. depending upon the voting and the people like to fix this issue, the issue will be fixed in the future versions.

Upvotes: 3

Related Questions