Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 20475 invoked from network); 18 Sep 2007 09:24:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 09:24:53 -0000 Received: (qmail 5133 invoked by uid 500); 18 Sep 2007 09:24:44 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 5050 invoked by uid 500); 18 Sep 2007 09:24:44 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 5041 invoked by uid 99); 18 Sep 2007 09:24:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 02:24:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Sep 2007 09:24:42 +0000 Received: (qmail invoked by alias); 18 Sep 2007 09:24:20 -0000 Received: from adsl-84-227-150-49.adslplus.ch (EHLO [10.0.1.198]) [84.227.150.49] by mail.gmx.net (mp040) with SMTP; 18 Sep 2007 11:24:20 +0200 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX18tcf0083Qtmf5Oftp0ItRHti2BYFfp/QPYiqZG4k a1I37aGS9M80Cw Message-ID: <46EF993C.5010105@gmx.net> Date: Tue, 18 Sep 2007 11:24:12 +0200 From: Marcel Reutegger User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Indexing numeric properties References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Kilian Evang wrote: > ...are LONG and DOUBLE properties indexed? If not, (how) can I turn this > on? yes, LONG and DOUBLE properties are automatically indexed. > For example, I would like to be able to efficiently search for all nodes > where a certain DOUBLE property exists and is > 1000000. if you use the correct type for the literal the query will work. 1000000 represents a LONG literal while 1000000.0 is of type double. Jackrabbit does not convert LONG or DOUBLE literals, which means you have to take care of the correct type. regards marcel