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 by tags/metadata is not exact match but instead like match #126

Open
pbolduc opened this issue Feb 17, 2023 · 1 comment
Open

Search by tags/metadata is not exact match but instead like match #126

pbolduc opened this issue Feb 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pbolduc
Copy link
Contributor

pbolduc commented Feb 17, 2023

Describe the issue

This is a clarification issue. In the documenation for file search, the service, it says Returns a list of objects matching all search criteria across all known versions of objects. The match wording on the documenation is unclear. At first glance, I would assume exact match. However, the queries are not exact match queries but are like queries (metadata and tags)

In our application, we store internal database record ids. So if I am trying to find all documents where tag Id=N, this may return more records than expected. If I search for documents linked to Id=1, I am going to get back documents for any id that contains a '1' which could be A LOT (1, 10, 11..19,21,31,41...).

Perhaps a future consideration could be allow an option to provide a search mode, exact / contains, or extend with a graphql query on metadata and tags.

@jujaga
Copy link
Member

jujaga commented Mar 15, 2023

Modified the description to the following:

Returns a list of objects matching all search criteria across all known versions of objects. Search criteria on string attributes will match on partial results and ignore case sensitivity.

To be included in v0.4.0

@jujaga jujaga added the enhancement New feature or request label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants