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

Robert Munteanu commented on OAK-6578:
--------------------------------------

{quote}If its specific to unique index then you can directly use the unique 
strategy in your code and only add this method to that.{quote}

The {{Multiplexers#newStrategy}} method wraps the {{UniqueEntryStoreStrategy}} 
inside a {{FilteringIndexStoreStrategy}} so I can't downcast to that.

{quote}Also remember going forward with OAK-6535 we may be moving away from 
property based index to Lucene index.{quote}

Ack, I will keep an eye on that.

{quote}Further you can use IndexInfoService to get access to all indexes{quote}

I'll look into that, thank you.

> Enhance the IndexStoreStrategy to return list of matching values and paths
> --------------------------------------------------------------------------
>
>                 Key: OAK-6578
>                 URL: https://issues.apache.org/jira/browse/OAK-6578
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>             Fix For: 1.8, 1.7.7
>
>         Attachments: OAK-6578.patch
>
>
> For OAK-6506 I would need to extract from each index a list of all property 
> values and paths. The property values would be used to check for duplicates, 
> while the paths will be used for reporting.
> As the IndexStoreStrategy interface and its implementations do not support 
> such access, we need to provide it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to