Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search commands should support query against fields where the value is a simple array #187

Open
mwvaughn opened this issue Oct 2, 2019 · 0 comments
Milestone

Comments

@mwvaughn
Copy link
Contributor

mwvaughn commented Oct 2, 2019

Is your feature request related to a problem? Please describe.
Some Tapis primitives have fields where the contents are a simple array of values. Examples include app.tags and metadata.associationIds. At present, there is no supported way to query them since the SearchArg subclasses don't know how to construct such a query.

Describe the solution you'd like
It should be possible to search an array field for exact matches using the modifiers inc (includes) and ninc (doesn't include). Example: tapis apps search --tags inc rnaseq to find apps tagged with rnaseq.

Describe alternatives you've considered
We could use other modifiers, such as in and nin but the semantics are backwards. For example: tapis search --tags in rnaseq

@mwvaughn mwvaughn added this to the Alpha 3 milestone Oct 2, 2019
@mwvaughn mwvaughn modified the milestones: Alpha 3, Release 1.1 Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant