Not able to set index type 'text' using mongodb compass

I am currently using mongodb compass, I want to create index with type ‘text’. In compass GUI, dropdown titled ‘Select a type’ does not show type ‘text’. See the image attached.


Please help to create the text type using mongodb compass.

1 Like

You cannot create text indexes using Compass, yet. See https://jira.mongodb.org/browse/COMPASS-520

2 Likes

Then how we can? So text search is not there in mongodb?

You can use other tools like mongo shell, to create text index and run your Text Search.

1 Like