-
Notifications
You must be signed in to change notification settings - Fork 13
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: add es8 indexer&retriever #41
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 179 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
157 | 22 | 0 | 0 |
Click to see the invalid file list
- components/indexer/es8/field_mapping/consts.go
- components/indexer/es8/field_mapping/field_mapping.go
- components/indexer/es8/internal/consts.go
- components/indexer/es8/consts.go
- components/indexer/es8/indexer.go
- components/indexer/es8/indexer_test.go
- components/indexer/es8/utils.go
- components/retriever/es8/field_mapping/consts.go
- components/retriever/es8/field_mapping/mapping.go
- components/retriever/es8/internal/consts.go
- components/retriever/es8/search_mode/approximate.go
- components/retriever/es8/search_mode/approximate_test.go
- components/retriever/es8/search_mode/dense_vector_similarity.go
- components/retriever/es8/search_mode/dense_vector_similarity_test.go
- components/retriever/es8/search_mode/exact_match.go
- components/retriever/es8/search_mode/interface.go
- components/retriever/es8/search_mode/raw_string.go
- components/retriever/es8/search_mode/sparse_vector_text_expansion.go
- components/retriever/es8/search_mode/sparse_vector_text_expansion_test.go
- components/retriever/es8/search_mode/utils.go
- components/retriever/es8/consts.go
- components/retriever/es8/retriever.go
components/retriever/es8/search_mode/sparse_vector_text_expansion_test.go
Show resolved
Hide resolved
go-test-coverage report:
|
There was a problem hiding this 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 174 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
164 | 10 | 0 | 0 |
Click to see the invalid file list
- components/retriever/es8/search_mode/approximate.go
- components/retriever/es8/search_mode/approximate_test.go
- components/retriever/es8/search_mode/dense_vector_similarity.go
- components/retriever/es8/search_mode/dense_vector_similarity_test.go
- components/retriever/es8/search_mode/exact_match.go
- components/retriever/es8/search_mode/raw_string.go
- components/retriever/es8/search_mode/sparse_vector_text_expansion.go
- components/retriever/es8/search_mode/sparse_vector_text_expansion_test.go
- components/retriever/es8/search_mode/utils.go
- components/retriever/es8/option.go
// QueryFieldName the name of query field, required when using Hybrid | ||
QueryFieldName string | ||
// VectorFieldName the name of the vector field to search against, required | ||
VectorFieldName string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QueryFieldName 和 VectorFieldName 分别怎么理解?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QueryFieldName 代表 query 对应的 field 名称
VectorFieldName 代表 query 通过 embedding 生成的 vector 对应的 field 名称
ad8060a
to
1b7e6dd
Compare
There was a problem hiding this 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 180 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
179 | 1 | 0 | 0 |
Click to see the invalid file list
- components/retriever/es8/search_mode/raw_string_test.go
1b7e6dd
to
da0e449
Compare
0092596
to
bb62376
Compare
There was a problem hiding this 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 203 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
194 | 9 | 0 | 0 |
Click to see the invalid file list
- components/indexer/es8/examples/indexer/add_documents.go
- components/indexer/es8/examples/indexer/create_index.go
- components/indexer/es8/examples/indexer_with_sparse_vector/add_documents.go
- components/indexer/es8/examples/indexer_with_sparse_vector/create_index.go
- components/retriever/es8/examples/approximate/approximate.go
- components/retriever/es8/examples/dense_vector_similarity/dense_vector_similarity.go
- components/retriever/es8/examples/sparse_vector_query/sparse_vector_query.go
- components/retriever/es8/search_mode/sparse_vector_query.go
- components/retriever/es8/search_mode/sparse_vector_query_test.go
components/indexer/es8/examples/indexer_with_sparse_vector/add_documents.go
Show resolved
Hide resolved
components/indexer/es8/examples/indexer_with_sparse_vector/create_index.go
Show resolved
Hide resolved
components/retriever/es8/examples/dense_vector_similarity/dense_vector_similarity.go
Show resolved
Hide resolved
components/retriever/es8/examples/sparse_vector_query/sparse_vector_query.go
Show resolved
Hide resolved
bb62376
to
d51abe2
Compare
d51abe2
to
93dd965
Compare
No description provided.