Skip to content

Conversation

dhruva-r
Copy link
Contributor

@dhruva-r dhruva-r commented Jul 14, 2025

Jira Ticket

RP-13223

Summary of Changes

Added support for nested queries to be able to access parent document fields. The docLookup object will now use a new NESTED_DOCUMENT_OFFSET meta field to calculate the docId of the the parent document and will be able to retrieve fields from the parent document if they do not exist in the child document.

Tests

Unit tests and an end to end test created provide sufficient code coverage.

@dhruva-r dhruva-r requested review from sarthakn7 and waziqi89 July 14, 2025 15:18
@dhruva-r dhruva-r self-assigned this Jul 14, 2025
@dhruva-r dhruva-r marked this pull request as ready for review July 14, 2025 17:35
@dhruva-r dhruva-r requested a review from waziqi89 July 16, 2025 16:44
@dhruva-r dhruva-r requested a review from waziqi89 July 16, 2025 20:10
dhruva-r added 4 commits July 17, 2025 11:00
…ENT. prefix but now recursively calls the get function of SegmentDocLookup to handle multiple levels of nested objects
…stProcessor in response to use nestedPath to determine if the field is on the parent level or the child level.
@dhruva-r
Copy link
Contributor Author

I need to add a test for multiple nested documents (and checking the offset values), a test for multi levelled nested documents

@dhruva-r dhruva-r requested a review from sarthakn7 July 22, 2025 16:16
…t, getParentDocId returns exceptions instead of -1
@dhruva-r dhruva-r requested review from waziqi89 and aprudhomme July 23, 2025 16:30
waziqi89
waziqi89 previously approved these changes Jul 23, 2025
@dhruva-r dhruva-r merged commit 6c1efe4 into main Jul 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants