annotationsatharvard / catcha

Catch-A - Catching Annotation: An annotation backend and API.
http://catcha.readthedocs.io
20 stars 9 forks source link

Search API should allow client to query by user.id and user.name #12

Closed jmiranda closed 10 years ago

jmiranda commented 10 years ago

Index on both user.id and user.name. Search API should allow for query by either user.id (email) or user.name (username) or both (use AND operator when both are included).

jmiranda commented 10 years ago

{user.id='email@gmail.com'} or {user.name='dani'}

jmiranda commented 10 years ago

User parameters userid=email@gmail.com AND/OR username=dani.