clowder-framework / clowder

A data management system that allows users to share, annotate, organize and analyze large collections of datasets. It provides support for extensible metadata annotation using JSON-LD and a distribute analytics event bus for automatic curation of uploaded data.
https://clowderframework.org/
University of Illinois/NCSA Open Source License
33 stars 17 forks source link

search breaks with hyphens #424

Open tcnichol opened 9 months ago

tcnichol commented 9 months ago

I noticed this using some pyclowder methods:

if I name a collection "what-where-how" and then do this search:

collection_results = client.get('/search', params={'query': 'what-where-how', 'resource_type': 'collection'})

it returns no results.

If I provide the words without the hyphens, it then finds that collection.