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

Index Noticable Scarring field so it is searchable #954

Open
goddesswarship opened this issue Dec 20, 2024 · 1 comment · May be fixed by #983
Open

Index Noticable Scarring field so it is searchable #954

goddesswarship opened this issue Dec 20, 2024 · 1 comment · May be fixed by #983
Assignees
Labels
enhancement new or improvements on existing features opensearch anything that touches on opensearch

Comments

@goddesswarship
Copy link
Contributor

goddesswarship commented Dec 20, 2024

Feature request to make Observation Attribute for noticeable scarring a searchable field in an Encounter Search (react/encounter-search).

Other fields such as sex, behavior, and life stage have searchable fields, but noticeable scarring doesn't.

Field view on encounter page (/encounters/encounter.jsp):

Image

Encounter search for Observation attributes view:
Image

Community link
Found in Sharkbook
https://community.wildme.org/t/sharkbook-search-fields/4480

@goddesswarship goddesswarship added enhancement new or improvements on existing features opensearch anything that touches on opensearch labels Dec 20, 2024
@TanyaStere42 TanyaStere42 changed the title Index Noticable Scarring field so it is searchable in Sharkbook Index Noticable Scarring field so it is searchable Jan 6, 2025
@naknomum
Copy link
Member

naknomum commented Jan 6, 2025

this will be some additional code added to opensearchDocumentSerializer() in Encounter.java. you can find many other values being added for indexing there to follow as a guide.

the value can be found via enc.getDistinguishingScar()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new or improvements on existing features opensearch anything that touches on opensearch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants