jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-3576) Allow custom extension to augment indexed lucene documents
Date Wed, 23 Dec 2015 13:31:46 GMT

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

Vikas Saurabh edited comment on OAK-3576 at 12/23/15 1:31 PM:
--------------------------------------------------------------

Fixed in trunk at [r1721424|http://svn.apache.org/r1721424], [r1721428|http://svn.apache.org/r1721428],
[r1721503|http://svn.apache.org/r1721503] and [r1721542|http://svn.apache.org/r1721542]. Have
incorporated following changes over latest patch:
* Dropped usage of defn.getVersion().isAtLeast(IndexFormatVersion.V2)) in LuceneIndexEditor
and LucenePropertyIndex
* Added {{Nonnull}} and {{CheckForNull}} annotations in SPI as applicable (preferred Nonnull)
* Added index-definition's node state to {{FulltextQueryTermsProvider#getQueryTerm}}
* Test case indices use compatVersion=2 in index definition

Using new API in Tracker (OAK-3815) would be done later.



was (Author: catholicon):
Fixed in trunk at [r1721424|http://svn.apache.org/r1721424], [r1721428|http://svn.apache.org/r1721428]
and [r1721503|http://svn.apache.org/r1721503]. Have incorporated following changes over latest
patch:
* Dropped usage of defn.getVersion().isAtLeast(IndexFormatVersion.V2)) in LuceneIndexEditor
and LucenePropertyIndex
* Added {{Nonnull}} and {{CheckForNull}} annotations in SPI as applicable (preferred Nonnull)
* Added index-definition's node state to {{FulltextQueryTermsProvider#getQueryTerm}}

Using new API in Tracker (OAK-3815) would be done later.


> 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
>            Assignee: Vikas Saurabh
>             Fix For: 1.3.13
>
>         Attachments: OAK-3576.jsedding.patch, OAK-3576.take2.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)

Mime
View raw message