diff --git a/subgraph.go b/subgraph.go index 8d84c2c..ffcdacf 100644 --- a/subgraph.go +++ b/subgraph.go @@ -56,8 +56,10 @@ func (s *Subgraph) FirstNodeByLabel(label string) *Node { // Helpers func IsValidTag(t roots.Tag) bool { - if len(t[0])+len(t[1]) > 8192 { - // Skip tags that are too large for the neo4j indexer + // Skip tags that are too large for the neo4j indexer + // Proven in 5.26 Community: a prop's name + value must be under 8162 bytes + // 8000 bytes gives an ample buffer + if len(t[0])+len(t[1]) > 8000 { return false } return true