Skip to content

Treat study "Description" same as another Key #37

@will-moore

Description

@will-moore

When searching for Values across all Keys, it would be nice to include Description, so that the API can be used where I'm currently loading all study Descriptions and searching manually:

E.g.
/searchengine//api/v1/resources/all/searchvalues/?value=zebra

Looking at the current UI, this term appears in 4 Descriptions (see below), each matching 1 Project, so when searching for values I guess you'd find something like...

#pseudo-result...

  "project": {
    "data": [
      {
        "Key": "Description",
        "Number of projects": 1,
        "Value": "Description containing zebrafish and other text"
      },
      {
        "Key": "Description",
        "Number of projects": 1,
        "Value": "We did experiments with mouse embryonic fibroblasts, human dendritic cells and a zebrafish embryo slice."
      },
      {
        "Key": "Description",
        "Number of projects": 1,
        "Value": "Another description: analysis identifies pan-embryo cell dynamics of germlayer formation in zebrafish"
      },
      {
        "Key": "Description",
        "Number of projects": 1,
        "Value": "Blah blah zebra foo foo"
      }
    ],

In a new UI, I might combine these results into 1 row "Description contains zebra", which you could then combine with other search terms:

E.g. in the way that I can do for Key: "Publication Title" like:

{
        "query_details": {
        "and_filters": [
            {
            "name": "Publication Title",
            "value": "microtubule",
            "operator": "contains",
            "resource": "screen"
            },
            {
            "name": "Gene Symbol",
            "value": "abo1",
            "operator": "equals",
            "resource": "image"
            }
        ],
        "or_filters": [
        ],
        "case_sensitive": false
        }
    }

Screenshot 2022-08-19 at 17 30 19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions