I am trying to understand if the use of a node label as a "tag" has any better performance in querying than using an indexed attribute.
Consider for example a typical blogging platform where some
Article node might have to be "tagged" as
Draft, versus adding a
status attribute (with an index) to serve the same purpose.
This has come up as a potential feature in
neomodel but it has some potentially messy implications. Therefore, it would be good if we had some more information on this prior to proceeding with a feature.
My naive thinking is that there is no difference in indexing Labels than indexing attributes, therefore, there is no reason why this functionality should not be implemented via an attribute. But if there is reason for a Label search to be faster, this might add a "vote" to adopting this "Optional Labels" feature.
All the best