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

CO2.0: Searching for a field on a child record, should return the parent record in search results (SPH) #1566

Closed
jamieu opened this issue Feb 12, 2024 · 1 comment

Comments

@jamieu
Copy link
Member

jamieu commented Feb 12, 2024

Searching for the search query AAA5006081(text that is part of the part record 2008-5019/2 description text) should return the parent record.
http://localhost:8000/objects/co8094437/next-computer-personal-computer

In other words, you should be able to search for any text / field on part record and get the parent back instead.

The obvious solution would be to publish al the child record fields (we want to search) on the parent record and get the ES query to check them (as well as the parent fields).

Need to plan out what index changes and hence code changes wood be required — feel free to add comments / thoughts below.

@jamieu jamieu changed the title CO2.0: Searching for child records & returning parent in results CO2.0: Searching for child records field should returning parent in results (SPH) Feb 13, 2024
@jamieu jamieu changed the title CO2.0: Searching for child records field should returning parent in results (SPH) CO2.0: Searching for a field on a child record, should return the parent record in search results (SPH) Feb 19, 2024
@jamieu
Copy link
Member Author

jamieu commented Mar 13, 2024

Addressed here #1663

Closing

@jamieu jamieu closed this as completed Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant