Skip to content

Unable to Create Tag Index on Name Property #5744

Answered by wey-gu
bruckynetworks asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @bruckynetworks !

For string prop, we need to specify the length when indexing them!

https://docs.nebula-graph.io/3.6.0/3.ngql-guide/14.native-index-statements/1.create-native-index/#create_single-property_indexes

i.e. CREATE TAG INDEX router_name_index ON router(name string(32));

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bruckynetworks
Comment options

@wey-gu
Comment options

wey-gu Oct 30, 2023
Collaborator

@bruckynetworks
Comment options

Answer selected by bruckynetworks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants