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

feat: parent retriever/indexer #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

meguminnnnnnnnn
Copy link
Contributor

add parent retriever/indexer

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

license-eye has totally checked 152 files.

Valid Invalid Ignored Fixed
148 4 0 0
Click to see the invalid file list
  • flow/indexer/parent/parent.go
  • flow/indexer/parent/parent_test.go
  • flow/retriever/parent/parent.go
  • flow/retriever/parent/parent_test.go

flow/indexer/parent/parent.go Show resolved Hide resolved
flow/indexer/parent/parent_test.go Show resolved Hide resolved
flow/retriever/parent/parent.go Show resolved Hide resolved
flow/retriever/parent/parent_test.go Show resolved Hide resolved
Copy link

go-test-coverage report:

No coverage report available ```

@CLAassistant
Copy link

CLAassistant commented Dec 24, 2024

CLA assistant check
All committers have signed the CLA.


if subDoc.ID == currentID {
continue
}
Copy link
Contributor

Choose a reason for hiding this comment

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

这段没理解

Copy link
Contributor Author

Choose a reason for hiding this comment

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

有点问题,改了

Copy link
Contributor

Choose a reason for hiding this comment

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

i == 0 的时候,一定会 continue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

对,等到id发生变化之后更新之前的docid

Copy link
Contributor

Choose a reason for hiding this comment

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

这里是假定了同一个 parent doc 的 sub doc,ID 一定是相同的?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

是的

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@meguminnnnnnnnn meguminnnnnnnnn force-pushed the feat/wdz/parent branch 3 times, most recently from 471c382 to 8d65eb9 Compare December 26, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants