NSLS-II / metadatastore

DEPRECATED: Incorporated into https://github.com/NSLS-II/databroker
Other
2 stars 11 forks source link

ENH: Add a wildcard text index #215

Closed danielballan closed 8 years ago

danielballan commented 8 years ago

As we migrate to Mongo 3.2 (planned for tomorrow) we can support fast text search, which I demonstrated awhile ago in this toy project, 'broker search'

Relevant section of Mongo docs

tacaswell commented 8 years ago

:+1: leave to @arkilic to merge. Can we support the same thing in client?

licode commented 8 years ago

Nice feature, so we can perform search on all fields easily. Do we need to include this also on event or descriptor?

tacaswell commented 8 years ago

Definitely not on events, maybe on descriptors. That would solve the "I know the motor was called 'ssx'" problem

licode commented 8 years ago

The search on events will be too heavy. And all important information are actually stored in start/stop/descriptors.

danielballan commented 8 years ago

This PR already includes an index on descriptor. Only event is left out.

licode commented 8 years ago

👍