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 "Dan Klco (Jira)" <ji...@apache.org> on 2022/05/11 19:22:00 UTC
[jira] [Commented] (OAK-9767) Support Int / Long Terms in LuceneIndexMBean
[ https://issues.apache.org/jira/browse/OAK-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535075#comment-17535075 ]
Dan Klco commented on OAK-9767:
-------------------------------
Opened PR: https://github.com/apache/jackrabbit-oak/pull/566
> Support Int / Long Terms in LuceneIndexMBean
> --------------------------------------------
>
> Key: OAK-9767
> URL: https://issues.apache.org/jira/browse/OAK-9767
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: indexing
> Reporter: Dan Klco
> Priority: Major
> Fix For: 1.44.0
>
>
> Currently, the LuceneIndexMbean only supports retrieving terms of the type String via the [BytesRef.utf8ToString|https://lucene.apache.org/core/7_2_1/core/org/apache/lucene/util/BytesRef.html#utf8ToString--] method. Terms of type Int and Long are corrupted and will not display properly when retrieved with this method.
>
> To support retrieving Long / Int terms, a new method should be added to the LuceneIndexMbean which takes a type string and based on that type string determines how to retrieve the term.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)