[
https://issues.apache.org/jira/browse/OAK-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578326#comment-13578326
]
Alex Parvulescu commented on OAK-583:
-------------------------------------
bq. IMO the property name implies that it is multivalued. however, i get the
impression that this doesn't work for unique property index definitions. (test
failure)
I've removed the TODO from the IndexUtils, reran all the tests and nothing
failed.
Which tests are failing so I can take a look?
> Inconsistencies in property index definitions
> ---------------------------------------------
>
> Key: OAK-583
> URL: https://issues.apache.org/jira/browse/OAK-583
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: angela
> Assignee: Alex Parvulescu
>
> while trying to simplify the property-index definitions and adding
> one for the access control content, i detected the following inconsistencies
> with the property "propertyNames":
> - the property is sometimes single valued (e.g. "uuid") and sometimes
> multivalued ("nodetypes")
> IMO the property name implies that it is multivalued. however, i get the
> impression that this doesn't work for unique property index definitions.
> (test failure)
> - the property is defined using Type.STRING (implicit) or Type.STRINGS.
> IMO however, Type.NAMES would be more appropriate.
> - while moving out the user related index, i used type name without noticing.
> i will change to STRING(S) such that we have it consistent (see above).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira