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 "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2014/10/15 11:31:34 UTC

[jira] [Comment Edited] (OAK-2196) Implement sorting based on Lucene sorting

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

Tommaso Teofili edited comment on OAK-2196 at 10/15/14 9:30 AM:
----------------------------------------------------------------

regarding having two fields: one for query+sorting use case and one for just sorting (the DV one) I think that's a good idea as it's usually better to have per use case fields. Expect some impacts on index size as of course the DV structure is kept in the index (the format could be eventually changed in the used _Codec_).
On a side note _NumericDocValues_ are also updatable (see http://shaierera.blogspot.com/2014/04/updatable-docvalues-under-hood.html).


was (Author: teofili):
regarding having two fields: one for query+sorting use case and one for just sorting (the DV one) I think that's a good idea as it's usually better to have per use case fields. Expect some impacts on index size as of course the DV structure is kept in the index (the format could be eventually change in the used Codec).
On a side note _NumericDocValues_ are also updatable (see http://shaierera.blogspot.com/2014/04/updatable-docvalues-under-hood.html).

> Implement sorting based on Lucene sorting
> -----------------------------------------
>
>                 Key: OAK-2196
>                 URL: https://issues.apache.org/jira/browse/OAK-2196
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.0.8, 1.2
>
>
> Make use of Lucene sorting support to implement sorting for JCR queries



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