Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 4916 invoked from network); 13 Aug 2010 06:44:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Aug 2010 06:44:29 -0000 Received: (qmail 17525 invoked by uid 500); 13 Aug 2010 06:44:27 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 17212 invoked by uid 500); 13 Aug 2010 06:44:24 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 17204 invoked by uid 99); 13 Aug 2010 06:44:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Aug 2010 06:44:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shalinmangar@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Aug 2010 06:44:14 +0000 Received: by wyb35 with SMTP id 35so3236410wyb.35 for ; Thu, 12 Aug 2010 23:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=afj0KLLnpLJPV2BtjIZGp6yyCAVDDopBXv1jEX7QBbA=; b=P3KAeXi75zr8PxqO7RrSQA/UCzcNmt5RSmzgPUZw4fzwo0dOj0oDNZUCJbUo8iiIxM ppfxjXpOl8uFQ1NZXkNoEZ8R9Q+BkeD08ZoCeBdGdCDTkRTIT0CjPBgZm5IbDXwWJANI D5vpicqjVoSgzEQaULALSXWPjtcWuCws7Os9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=N8GzrtGmi/jaJW8VwNAV73EhzywCgl77GSjBbJiVD4BJuHN0IAjrCqChgf0lUpgCvD /3FMwxLsYzsF5ZZZCIG332cDIbrKEi4DYylChjoALwmUm4b1pWKoe7MwNhq3d5IHiBw6 vDU7eQys7f7HB+1pItq5aGlhNaZJ2iKdspL5g= MIME-Version: 1.0 Received: by 10.216.74.82 with SMTP id w60mr2062526wed.106.1281681834552; Thu, 12 Aug 2010 23:43:54 -0700 (PDT) Received: by 10.216.155.85 with HTTP; Thu, 12 Aug 2010 23:43:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Aug 2010 12:13:54 +0530 Message-ID: Subject: Re: DIH - Insert another record After first load From: Shalin Shekhar Mangar To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=00504502c8a476ad5c048daecefc X-Virus-Checked: Checked by ClamAV on apache.org --00504502c8a476ad5c048daecefc Content-Type: text/plain; charset=UTF-8 On Thu, Aug 12, 2010 at 7:05 AM, Girish wrote: > Hi, > > I did load of the data with DIH and now once the data is loaded. I want to > load the records dynamically as an when I received. > > Use cases: > > 1. I did load of 7MM records and now everything is working fine. > 2. A new record is received, now I want to add this new record into the > indexed data. Here is difference in the processing and the logic: > * Initial data Load is done from a Oracle Materialized view > * The new record is added into the tables from where view is > created and not available in the view now > * now I want to add this new record into the index. I have a Java > bean loaded with the data including the index column. > * I looked at the indexed file and it is all encoded. > 3. How do I load above loaded Java bean to the index? > > Take a look at SolrJ - http://wiki.apache.org/solr/Solrj -- Regards, Shalin Shekhar Mangar. --00504502c8a476ad5c048daecefc--