Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 36893 invoked from network); 15 Jun 2009 19:09:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 19:09:16 -0000 Received: (qmail 72010 invoked by uid 500); 15 Jun 2009 19:09:28 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 71933 invoked by uid 500); 15 Jun 2009 19:09:27 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 71924 invoked by uid 99); 15 Jun 2009 19:09:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 19:09:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 19:09:26 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id DB13B118BD for ; Mon, 15 Jun 2009 19:09:05 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: solr-commits@lucene.apache.org Date: Mon, 15 Jun 2009 19:09:05 -0000 Message-ID: <20090615190905.2647.36807@eos.apache.org> Subject: [Solr Wiki] Trivial Update of "DataImportHandler" by JayHill X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification. The following page has been changed by JayHill: http://wiki.apache.org/solr/DataImportHandler ------------------------------------------------------------------------------ }}} Here we have three queries specified for each entity except the root (which has only two). - * The ''query'' gives the data needed to populate fields of the Solr document in fill-import + * The ''query'' gives the data needed to populate fields of the Solr document in full-import * The ''deltaImportQuery'' gives the data needed to populate fields when running a delta-import * The ''deltaQuery'' gives the primary keys of the current entity which have changes since the last index time * The ''parentDeltaQuery'' uses the changed rows of the current table (fetched with deltaQuery) to give the changed rows in the parent table. This is necessary because whenever a row in the child table changes, we need to re-generate the document which has that field.