IlyaLab / Addama

Adaptive Data Management :: OAuth Enabled Web Services
MIT License
3 stars 3 forks source link

Case-insensitive searches for all keys #3

Open spacepod opened 10 years ago

spacepod commented 10 years ago

Addama should support case insensitive searches through the REST API. As a technology, mongodb's build-in "case-insensitive regex search with anchors" will be used. Initially, this will be applied to all fields for now. Behavior for REST calls with union/intersection should remain the same: for example.?gene=A&gene&B&source=GEXP&source=Meth logically translates to ("Gene A" OR "Gene B") AND ("source GEXP" OR "source METH")