Skip to content

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Jun 3, 2023

This PR adds support for RediSearch Tags in the whole pipeline from parser to ft.create schema.

Signed-off-by: Vladislav Oleshko <[email protected]>
@dranikpg dranikpg requested a review from romange June 3, 2023 13:50
tags = {move(tag)};
}

AstTagsNode::AstTagsNode(AstExpr&& l, std::string tag) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You implemented tag addition in a very peculiar way. Is it because how you handle variant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, only for simplicity in the parser declaration. Its cumbersome to manage state there, so I do it here

@dranikpg dranikpg merged commit 9ab70e4 into dragonflydb:main Jun 4, 2023
@dranikpg dranikpg deleted the search-tags branch June 5, 2023 11:49
dranikpg added a commit to dranikpg/dragonfly that referenced this pull request Jun 9, 2023
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.

2 participants