+
Skip to content

Conversation

austintlee
Copy link

No description provided.

@austintlee austintlee enabled auto-merge (squash) February 6, 2025 21:45
"_id"
] not in parent_ids:
# Add a parent doc if it's a match.
parent_id = hit["_id"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we actually use _id? I thought all our indexing is done by _doc_id

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we always pass document.doc_id as _id when we call OpenSearch.

Copy link
Collaborator

@HenryL27 HenryL27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm so long is new ITs pass

# Add a parent doc if it's a match.
parent_id = hit["_id"]
parent_ids.add(parent_id)
hit["_source"]["parent_id"] = parent_id
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to add the loopback?

@austintlee austintlee merged commit f58e564 into main Feb 7, 2025
12 of 15 checks 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.

5 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载