loculus-project / loculus

An open-source software package to power microbial genomic databases
https://loculus.org
GNU Affero General Public License v3.0
32 stars 1 forks source link

Add substring search for more fields #2684

Open corneliusroemer opened 2 weeks ago

corneliusroemer commented 2 weeks ago

This was posted by Chaoran as Pathoplexus issue, but we should make the same changes here in the default config. I'd start upstream (i.e. Loculus, then apply downstream, but either direction works)

https://github.com/pathoplexus/pathoplexus/issues/79

@emmahodcroft wrote in https://github.com/loculus-project/loculus/issues/2576#issue-2486920360:

Currently (I understand) only authors has partial-match string search. It would be great to expand this to other fields.

Off the top of my head (but please others comment to recommend more):

@corneliusroemer wrote in https://github.com/loculus-project/loculus/issues/1742#issue-2275572466:

Substring search will be useful for at least the following metadata types:

chaoran-chen commented 2 weeks ago

huh? I think we were addding labels at the same time

chaoran-chen commented 2 weeks ago

and I wanted to add the same but somehow ended up deleting them?

theosanderson commented 2 weeks ago

To confirm, this isn't purely a config change, it needs some Typescript