You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2015/11/05 19:22:27 UTC

[jira] [Comment Edited] (OAK-3576) Allow custom extension to augment indexed lucene documents

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

Vikas Saurabh edited comment on OAK-3576 at 11/5/15 6:22 PM:
-------------------------------------------------------------

Thanks for the idea [~jsedding]. But, I'm still not too convinced about the part that all {{IndexFieldProvider}} s should get all changes to decide whether they want to participate or not.... I think we should at least have some configuration in index definition to switch on/off/override behavior. Also, about {{IndexDescription}} 's keys - I'm assuming your intent was for the structure to declare which properties (possibly with relative paths) are supposed to be indexed according to the index definition. Is that correct?


was (Author: catholicon):
Thanks for the idea [~jsedding]. But, I'm still not too convinced about the part that all {{IndexFieldProvider}}s should get all changes to decide whether they want to participate or not.... I think we should at least have some configuration in index definition to switch on/off/override behavior. Also, about {{IndexDescription}}'s keys - I'm assuming your intent was for the structure to declare which properties (possibly with relative paths) are supposed to be indexed according to the index definition. Is that correct?

> Allow custom extension to augment indexed lucene documents
> ----------------------------------------------------------
>
>                 Key: OAK-3576
>                 URL: https://issues.apache.org/jira/browse/OAK-3576
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Vikas Saurabh
>         Attachments: OAK-3576.jsedding.patch, OAK-3576.wip.patch
>
>
> Following up on http://oak.markmail.org/thread/a53ahsgb3bowtwyq, we should have an extension point in oak to allow custom code to add fields to documents getting indexed in lucene. We'd also need to allow extension point to add extra query terms to utilize such augmented fields.
> (cc [~teofili], [~chetanm])



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