Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 14210 invoked from network); 23 Aug 2005 13:32:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 13:32:17 -0000 Received: (qmail 7995 invoked by uid 500); 23 Aug 2005 13:32:15 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 7831 invoked by uid 99); 23 Aug 2005 13:32:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 06:32:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id AC2D0126 for ; Tue, 23 Aug 2005 15:32:12 +0200 (CEST) Message-ID: <892452882.1124803932703.JavaMail.jira@ajax.apache.org> Date: Tue, 23 Aug 2005 15:32:12 +0200 (CEST) From: "Marcel Reutegger (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Resolved: (JCR-196) jcr:like() does not scale well on large value ranges In-Reply-To: <157279954.1124803268738.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-196?page=all ] Marcel Reutegger resolved JCR-196: ---------------------------------- Resolution: Fixed WildcardQuery is now much faster and also works with patterns that match a large range of terms (e.g. a*). - The regexp pattern matcher is reused for term compare operations. - Resolving document id's is done on an unpositioned TermDocs using seek, instead of acquireing an instance for every term that matches. Implemented in revision: 239404 > jcr:like() does not scale well on large value ranges > ---------------------------------------------------- > > Key: JCR-196 > URL: http://issues.apache.org/jira/browse/JCR-196 > Project: Jackrabbit > Type: Improvement > Components: query > Environment: svn revision: 239389 > Reporter: Marcel Reutegger > Assignee: Marcel Reutegger > Priority: Minor > Fix For: 1.0 > > There are two major issues with the current WildcardQuery implementation: > 1) A wildcard expression is restricted to match at most 1024 terms, otherwise a TooManyClauses exception is thrown. Similar to the RangeQuery issue: JCR-111 > 2) The enumeration over the terms that match the wildcard pattern is slow -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira