[ 
https://issues.apache.org/jira/browse/OAK-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053162#comment-15053162
 ] 

Chetan Mehrotra commented on OAK-3758:
--------------------------------------

Initial support implemented in branch with 
[ab34c3d3d76|https://github.com/chetanmeh/jackrabbit-oak/commit/ab34c3d3d760af918174c2449cfee78ef1ca4675].

The resultant node structure looks like. Here 'foo' is the mount name with 
'oak:foo' being used as the name of mount in path. Reference index uses two 
hidden index tree one for references and other for weakreferences. So 
multiplexing logic would multiplex both the tree separately 

{noformat}
  /oak:index/reference{type = reference, jcr:primaryType = 
oak:QueryIndexDefinition}
    :references
      u1
        b
          foo{match = true}
    :oak:foo-references
      u1
        a
          x
            foo{match = true}
    :weakreferences
      u2
        d
          foo{match = true}
      u1
        c
          foo{match = true}
    :oak:foo-weakreferences
      u1
        a
          y
            foo{match = true}
{noformat}

> Multiplexing store support in Reference index
> ---------------------------------------------
>
>                 Key: OAK-3758
>                 URL: https://issues.apache.org/jira/browse/OAK-3758
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: query
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to