Fix creating indexes with a list of labels. by iddm · Pull Request #2714 · RedisGraph/RedisGraph · GitHub
Skip to content

Fix creating indexes with a list of labels. - #2714

Open
iddm wants to merge 3 commits into
RedisGraph:masterfrom
iddm:2610-fix-creating-indexes-with-a-list-of-labels
Open

iddm wants to merge 3 commits into
RedisGraph:masterfrom
iddm:2610-fix-creating-indexes-with-a-list-of-labels

Conversation

@iddm

@iddm iddm commented Nov 17, 2022

Copy link
Copy Markdown
Collaborator

Previously, a list of labels was allowed in the query but never validated properly and the strings weren't extracted from the list.

This commit parses the list of strings and so creates indexes for each label in the list as intended.

Resolves: #2610

@iddm
iddm requested a review from AviAvni November 17, 2022 10:59
@iddm
iddm force-pushed the 2610-fix-creating-indexes-with-a-list-of-labels branch from 5b8873c to 92add67 Compare November 17, 2022 11:30
Previously, a list of labels was allowed in the query but never
validated properly and the strings weren't extracted from the list.

This commit parses the list of strings and so creates indexes
for each label in the list as intended.

Resolves: RedisGraph#2610
@iddm
iddm force-pushed the 2610-fix-creating-indexes-with-a-list-of-labels branch from 7b0f8a7 to f3205f5 Compare November 17, 2022 11:31
@codecov

codecov Bot commented Nov 17, 2022 •

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

Corrupted label when calling db.idx.fulltext.createNodeIndex with an array of labels

1 participant