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.
mongo
,use [database]
,db.[collection].ensureIndex({"field":"text"})
. Compass will show text indexes thou. – Magnetoelectricity