Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8C4C10C38 for ; Tue, 20 Jan 2015 15:53:35 +0000 (UTC) Received: (qmail 30616 invoked by uid 500); 20 Jan 2015 15:53:35 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 30506 invoked by uid 500); 20 Jan 2015 15:53:35 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 30312 invoked by uid 99); 20 Jan 2015 15:53:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 15:53:35 +0000 Date: Tue, 20 Jan 2015 15:53:34 +0000 (UTC) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (JCR-3845) Have AuthorizableQueryManager Support Specifying Sort Ignore Case Mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3845?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D142839= 46#comment-14283946 ]=20 angela edited comment on JCR-3845 at 1/20/15 3:52 PM: ------------------------------------------------------ rev 1653275: commit with minor modification (setting the default back to tr= ue in order to have backwards compatible behavior). thanks a lot for the patch! was (Author: anchela): commit with minor modification (setting the default back to true in order t= o have backwards compatible behavior). thanks a lot for the patch! > Have AuthorizableQueryManager Support Specifying Sort Ignore Case Mode > ---------------------------------------------------------------------- > > Key: JCR-3845 > URL: https://issues.apache.org/jira/browse/JCR-3845 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-jcr-commons > Affects Versions: 2.8 > Reporter: Dominique J=C3=A4ggi > Assignee: angela > Fix For: 2.9.1 > > Attachments: JCR-3845_-_Have_AuthorizableQueryManager_Support_Spe= cifying_Sort_Ignore_Case_Mode.patch > > > Currently the _AuthorizableQueryManager_ hard-sets to ignore the case for= any specified sort property, resulting in a query that sorts like this: > {noformat} ... order by fn:lower-case(@myProperty) {noformat} > this may lead to performance impact, as the lowercasing cannot be covered= by a respective index. > i therefore suggest to allow users of the _AuthorizableQueryManager_ to s= pecify whether lowercasing is desired or not, as an additional flag _ignore= Case: true | false_ in the _ order | sort:_ section. > [~anchela], kindly review attached patch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)