Open prashantuniyal02 opened 1 month ago
Hi @mbdebian, is there any update on this issue? (as per yesterday’s discussion)
Hi @buniello , I have checked the ETL and there is a step implemented for the Facet Search that consumes data from the very ETL target, disease and go outputs, according to the code and the configuration file
facet-search {
inputs = {
diseases = ${disease.outputs.diseases}
targets {
path = ${common.output}"/targets"
format = ${common.output-format}
}
go {
format = ${common.output-format}
path = ${common.output}"/go"
}
}
outputs {
targets {
format = ${common.output-format}
path = ${common.output}"/facetSearchTarget"
}
diseases {
format = ${common.output-format}
path = ${common.output}"/facetSearchDisease"
}
}
}
This means that, as far as I know, it doesn't require additional data collection from PIS.
POS is up to date as well (see the indexes configuration file), depositing this new ETL output in two different Opensearch indexes: facetSearchTarget and facetSearchDisease.
Regarding the GraphQL API, code has been developed to work with those new indexes from Opensearch.
I would say backend seems to have things from ETL up to GraphQL schema level.
@prashantuniyal02, to follow up on this, I've had some chats with @mbdebian and we've identified got a bit more clarity on this issue.
I think the main issue here is not so much that we have hardcoded values (although this should be addressed) but that they are hardcoded in two different places, the ETL and the front end. This has the potential to become unmanageable so I'd propose the following actions:
Currently the filter values for the facets search category have been hardcoded into the ETL. Ideally in the future, we want to remove these hardcoded values and update the ETL.
Background
The category values are:
On the target facets:
On the disease facets:
3239 and #3268
Tasks