Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 82842 invoked from network); 2 Nov 2005 13:37:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Nov 2005 13:37:40 -0000 Received: (qmail 46401 invoked by uid 500); 2 Nov 2005 13:37:34 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 46380 invoked by uid 500); 2 Nov 2005 13:37:34 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 46369 invoked by uid 99); 2 Nov 2005 13:37:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 05:37:34 -0800 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 [213.133.33.30] (HELO mailrelay.is.nl) (213.133.33.30) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 05:37:29 -0800 Received: from [213.133.51.241] (HELO hai01.hippo.local) by mailrelay.is.nl (CommuniGate Pro SMTP 4.3.5) with ESMTP id 6844725 for java-user@lucene.apache.org; Wed, 02 Nov 2005 14:37:11 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Indexing derived data Date: Wed, 2 Nov 2005 14:37:11 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Indexing derived data Thread-Index: AcXfsoccVQD6PGsQT1CuI9udIrmndg== From: "Max Pfingsthorn" To: "Lucene User \(E-mail\)" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear fellow users, I was wondering if anyone is using Lucene right now to index data = derived from business object models. My general problem is to index data = which may be the result of an expensive computation involving a graph of = objects (for example computing which customer has which items in their = shopping cart or computing access privileges for objects). I would like to index this so that (for example) displaying a customers = shopping cart is fast and so we can also see who is currently shopping = for some certain items, etc. Of course, data would be more complex than = this. Basically, it is the kind of thing you would do with a "view" in SQL = DBs. The main problem is updating this indexed view in a timely fashion when = the business data changes. Ideally, updates should be instant, but of = course that will not happen as potentially intensive computation is = required and business objects are a bit more intelligent (and thus = harder to deal with) than SQL table rows. I've found some research papers on the topic, but I was wondering if = anyone does this right now and if they could explain their approach. I = would be especially curious about update optimizations and the question = if this can be done in a generic way or if this has to be built in to = the business objects (e.g. to notice that the derived data has to be = updated). Thanks in advance and best regards, Max Pfingsthorn --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org