[
https://issues.apache.org/jira/browse/OAK-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665211#comment-13665211
]
Marcel Reutegger commented on OAK-841:
--------------------------------------
> does it make sense to keep references to nodes that have an empty values?
I think it does. Otherwise you cannot use the index when you have a query,
which checks for existence of a property.
> are there queries that only check for a property's 'existence' rather than
> the actual value?
there are, but you may also have queries where a property must match the empty
string!
> Indexing empty string fails with "there's already a child node with name
> ':index'"
> ----------------------------------------------------------------------------------
>
> Key: OAK-841
> URL: https://issues.apache.org/jira/browse/OAK-841
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8
> Reporter: Marcel Reutegger
>
> Indexing an empty property value results in an 'node already exists'
> exception in the MicroKernel.
> The value probably needs to be encoded in the index.
--
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