Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 68692 invoked from network); 6 Jun 2006 13:14:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 13:14:13 -0000 Received: (qmail 93434 invoked by uid 500); 6 Jun 2006 13:14:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 93282 invoked by uid 500); 6 Jun 2006 13:14:03 -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 93224 invoked by uid 99); 6 Jun 2006 13:14:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 06:14:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [62.99.145.5] (HELO mx.inode.at) (62.99.145.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 06:14:02 -0700 Received: from [83.65.74.200] (port=15761 helo=mail.systemone.at) by smartmx-05.inode.at with esmtp (Exim 4.50) id 1FnbNL-00082l-1b for dev@jackrabbit.apache.org; Tue, 06 Jun 2006 15:13:39 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.systemone.at (Postfix) with ESMTP id B29B1801224C; Tue, 6 Jun 2006 15:13:36 +0200 (CEST) Received: from mail.systemone.at ([127.0.0.1]) by localhost (mars [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07775-08; Tue, 6 Jun 2006 15:13:33 +0200 (CEST) Received: from [192.168.20.11] (unknown [192.168.20.11]) by mail.systemone.at (Postfix) with ESMTP id 655228011000; Tue, 6 Jun 2006 15:13:33 +0200 (CEST) Message-ID: <44857F7E.70301@systemone.at> Date: Tue, 06 Jun 2006 15:13:34 +0200 From: stephan lohwasser User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: dev@jackrabbit.apache.org Cc: Michael Grinner Subject: element order in queries. Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at systemone.at X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi all, i have a problem concerning xPath queries for a certain nodetypes and their respective order. all i want to do is find all nodes of a certain nodetype called 's1Nt:element'. the query i wrote goes like this: //element(*, s1NT:element) all elements are located as same name siblings below s1Nt:page nodes, ie. there are many page nodes wich can have many element child nodes. when executing the query i get no results, but the following error messages form jackrabbit/lucene (the error occurrs several times below differen page nodes): 2006-06-06 10:11:53,997 ERROR [org.apache.jackrabbit.core.query.lucene.DocOrderNodeIteratorImpl] Internal error: unable to determine document order of nodes: 2006-06-06 10:11:53,997 ERROR [org.apache.jackrabbit.core.query.lucene.DocOrderNodeIteratorImpl] Node1: /s1:root/s1:pages/s1:page[3126]/s1:elementRoot/s1:element[3] 2006-06-06 10:11:53,997 ERROR [org.apache.jackrabbit.core.query.lucene.DocOrderNodeIteratorImpl] Node2: /s1:root/s1:pages/s1:page[3126]/s1:elementRoot/s1:element is it my fault, or a jackrabbit bug? i also thought it could be due to the fact that we have switched of document order in the repository xml: [..] [..] [..] ** [..] but: it is not. i have switched it on and the error still occurs. thanks a lot. stephan