jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-6578) Enhance the IndexStoreStrategy to return list of matching values and paths
Date Fri, 01 Sep 2017 05:50:00 GMT

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

Chetan Mehrotra commented on OAK-6578:
--------------------------------------

[~rombert] If its specific to unique index then you can directly use the unique strategy in
your code and only add this method to that. 

Also remember going forward with OAK-6535 we may be moving away from property based index
to Lucene index. In that case we may need to provide a common interface which needs to be
implemented by all index types (or at least property and lucene). 

Further you can use IndexInfoService to get access to all indexes


> 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)

Mime
View raw message