-
Notifications
You must be signed in to change notification settings - Fork 981
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
fix(search_family): Fix indexes loading in the FT.SEARCH and Ft.AGGREGATE commands #3955
fix(search_family): Fix indexes loading in the FT.SEARCH and Ft.AGGREGATE commands #3955
Conversation
@@ -80,7 +80,7 @@ search::SortableValue ExtractSortableValueFromJson(const search::Schema& schema, | |||
} // namespace | |||
|
|||
SearchDocData BaseAccessor::Serialize(const search::Schema& schema, | |||
const FieldsList& fields) const { | |||
const SearchFieldsSvList& fields) const { | |||
SearchDocData out{}; | |||
for (const auto& [fident, fname] : fields) { | |||
out[fname] = ExtractSortableValue(schema, fident, absl::StrJoin(GetStrings(fident), ",")); |
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.
Not sure why this turned into "sortable". What is sortable about it? 🙂
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.
It returns sortable value?
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.
Yeah, but it's not exclusively used for sorting - that's the confusing part. Its used for all document access. It just returns a document value in one of the value types
1bd7078
to
15b633c
Compare
…GATE commands fixes dragonflydb#3782, dragonflydb#3659 Signed-off-by: Stsiapan Bahrytsevich <stefan@dragonflydb.io>
15b633c
to
e61afa2
Compare
fixes #3782, #3659