From users-return-4629-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Aug 16 11:58:39 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 52941 invoked from network); 16 Aug 2007 11:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Aug 2007 11:58:39 -0000 Received: (qmail 96077 invoked by uid 500); 16 Aug 2007 11:58:35 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 96060 invoked by uid 500); 16 Aug 2007 11:58:35 -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 96051 invoked by uid 99); 16 Aug 2007 11:58:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 04:58:35 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [213.133.33.40] (HELO smtp.is.nl) (213.133.33.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 11:58:51 +0000 Received: from [213.133.51.241] (HELO hai01.hippo.local) by smtp.is.nl (CommuniGate Pro SMTP 5.0.10) with ESMTP id 21683230 for users@jackrabbit.apache.org; Thu, 16 Aug 2007 13:58:09 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: jcr observation event after node/prop has been indexed Date: Thu, 16 Aug 2007 13:49:43 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jcr observation event after node/prop has been indexed Thread-Index: Acff+4kwzopwMbOMRR+JHEty63w6ZA== From: "Ard Schrijvers" To: X-Virus-Checked: Checked by ClamAV on apache.org Hello, does anybody know wether it is possible to add listeners that get an = event *after* a node is indexed instead of added? Frequently, I am = interested in an event that a node is added/changed/removed *after* the = indexing has been done. A simple usecase is for example a frontend = eventbased cache for queries/searches. Invalidating a cache before the = index has been updated might result a in new search on the 'old' index, = that stores a new eventbased cached result, which obviously is not the = correct one (and the invalidation event has already been processed).=20 So, does anybody know wether this is already present in JackRabbit? Regards Ard