Open will-moore opened 1 year ago
If we group all auto-complete results by Value, then when we have entered "pax" we will see something like:
pax (9 images, Gene Symbol)
pax6 (2345 images, Gene Symbol, Antibody, HGNC G...)
pax7 (1234 images, Gene Symbol, Antibody, HGNC G...)
pax3 (1234 images, Gene Symbol, Antibody, HGNC G...)
...
Picking any of these would search by e.g. Key: any, Value: pax6
If the value isn't found in multiple Keys, then the auto-complete results would appear much as they do now.
NB: if any value matches Screens and Experiments, they will be grouped as they are now. If any value matches Images and Screens/Experiments, they will need to appear as separate items...
Although the "Attribute" chooser is not updated when we choose an auto-complete, we still need to know whether to search by Container or Images.
This aims to address 2 issues:
auto-complete is filtered by Attribute field
If you start with "Any" attribute (default) and enter search into the Value field, the auto-complete gives a list with many different Attributes:
If you pick one e.g.
Antibody contains pax6
, then decide you wanted to pick a different one, you re-enterpax6
into the search field, but now you only see this (even though you never chose to filter these, since the Attribute field got changed when you picked the item above, and now it's filtering by that):we can now search by Any key
See https://github.com/ome/omero_search_engine/pull/83
Previously you could only auto-complete with 'Any' key, but we needed to pick a specific Key to actually search.
Currently, there's no way to pick "pax6 with ANY key" from this list:
Proposed changes:
pax6 (Gene Symbol, Antibody, Original Gene Target...)
, then maybe when we go to choose Attribute, it lists the "pax6" Attributes first, before others:Antibody: HeLa