As a user I want to be able to search for facets. This ticket is about exposing the opensearch index to the user to enable a fuzzy text search of facet label via a new API endpoint.
The API endpoint will accept a query string and a context (target or disease). It will return search hits. The hits will include the facet label, the target or disease ids, the facet category and the id of the facet label.
As a user I want to be able to search for facets. This ticket is about exposing the opensearch index to the user to enable a fuzzy text search of facet label via a new API endpoint.
The API endpoint will accept a query string and a context (target or disease). It will return search hits. The hits will include the facet label, the target or disease ids, the facet category and the id of the facet label.
Background
See https://github.com/opentargets/issues/issues/3239
Tasks
Acceptance tests
How do we know the task is complete?