Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-21-2021 01:08 AM
Environment Info
Currently using v4.2.3 - Community.
Attempting the following via the browser interface.
No use of add-ins.
What I am trying to achieve
Looking to create a constraint for a unique value, using the following code
CREATE CONSTRAINT constraint_urivalue IF NOT EXISTS ON (u:uri) ASSERT u.value IS UNIQUE
The Error
Property value is too large to index , please see index documentation for limitations. Index: Index( id=9, name='constraint_urivalue', type='UNIQUE BTREE', schema=(:uri {value}), indexProvider='native-btree-1.0' ), entity id: 1752159, property size: 8349, value: [String("https://app.example.com/r?target=5fdb4af6c9e87c0045712071&t=AFwhZf1jxnSLg3hAmBOGQE4BcG....
After searching through the knowledgebase, I found this article which explains that the size limit is 8167 bytes (and instructions how to work out the size of any particular value).
however this article has left me with the following questions about proceeding.
The Question(s)
Many thanks in advance!
All the sessions of the conference are now available online