Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error check parameterized search arguments against OpenSearch mappings #644

Open
kburke opened this issue Mar 17, 2023 · 0 comments
Open
Labels
P Pitt dev team

Comments

@kburke
Copy link

kburke commented Mar 17, 2023

Parameterized searches allow exact match attribute values to be specified as GET parameters, but the initial implementation simply passed them all to OpenSearch in a QDSL query. This can easily result in "zero documents" returned if a specified parameter is not an exact match to an OpenSearch attribute.

search-api's /attribute-values endpoint already works with OpenSearch's _mappings call to identify keywords as part of its task. Extend or re-use this capability to verify user input to /param-search requests.

@kburke kburke added the P Pitt dev team label Mar 17, 2023
@shirey shirey added this to Pitt HIVE Jun 7, 2024
@shirey shirey moved this to Backlog in Pitt HIVE Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P Pitt dev team
Projects
Status: Backlog
Development

No branches or pull requests

1 participant