Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E1C83200C59 for ; Mon, 17 Apr 2017 16:40:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E03A0160BAB; Mon, 17 Apr 2017 14:40:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 33E92160B9C for ; Mon, 17 Apr 2017 16:40:31 +0200 (CEST) Received: (qmail 38107 invoked by uid 500); 17 Apr 2017 14:40:29 -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 38095 invoked by uid 99); 17 Apr 2017 14:40:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2017 14:40:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C3F44D119D for ; Mon, 17 Apr 2017 14:40:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.692 X-Spam-Level: * X-Spam-Status: No, score=1.692 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AdcvZQx4GHJ2 for ; Mon, 17 Apr 2017 14:40:26 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5BF965FB3D for ; Mon, 17 Apr 2017 14:40:26 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id t144so66348540lff.1 for ; Mon, 17 Apr 2017 07:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Em5BtjDkTzuZztyJ57nVZxG9s0k6mwWpsc5n2x7Lg5A=; b=FaQy5yrScDg4rZMqjSghzu6EFsWhntxbxWNECZlpPq+dIGnYgpBmQLrWGnm+DAO2Nb CZYi6Vj/6v/Ychm4YpYmL2XkjQaWZVpVbrT6J+qPD+4mnPBmpl/bte4gBaizJROnTCkL gy75BfQARZ5ngOXoQNIc895LxdmQfZSuq4U0J8cXC1QA+ppOtzd2DQei3/H2b9NgQ3C8 JkgZYoggbUADwwFqGS+2wwhtk5swQIBnalRkmYDt4pX7pxP4q9TJ43gPPAiBZkE2r8SC nR5UiZ/lxz40tFgXKGEMvc6DtjDFGS/QO5Hgnpw4+nq6wNevqjbYK2M1CC2YLh9v/HPS WCkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Em5BtjDkTzuZztyJ57nVZxG9s0k6mwWpsc5n2x7Lg5A=; b=qvPxgq80KjkokD/C2rHJBbVuPEkoL9YubVMCo9CD2K5XeVQi4XF2xNsyWZvIZD5R3K MDbiQv3XbLJqVlMwOhRrYhQ0UdW3jq2Xy79szA71xjUqBJpvd9hwi3mbgkyGg+PB1O9O KdYMutK5lZPSoWP2HMzy+gaiz4wpHBKD/p57zUXBxMcV5ZpMjb9yc1vsd8JHgQ0IvugE 2sVNGSTB2fDoCkGJr8FD++yI71L3yzh+AOA/SmfVelimeyB6WISVoRK7QbsWXSNFutl0 p/HrCeyh1N/fWf+x5LKaKpKnC9/RUBEjaf6GAYZKSVr1oaa33IyKnlbTEqSvx4roRv7z Gj7g== X-Gm-Message-State: AN3rC/6j+i8rD/15/1L2Ead0IoHCeLK/wO621+oF/If8suK17JlKBkgZ z/V6PwqEKZOgwiFGBD8+Y3Q6OcsUNfSUKT4= X-Received: by 10.25.27.144 with SMTP id b138mr3402101lfb.84.1492440020387; Mon, 17 Apr 2017 07:40:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.234.139 with HTTP; Mon, 17 Apr 2017 07:39:39 -0700 (PDT) In-Reply-To: <1492433153410-4330305.post@n3.nabble.com> References: <1491817620510-4329153.post@n3.nabble.com> <1d02f4ce-01ea-49a4-6c28-cedbb005655e@elyograg.org> <1492433153410-4330305.post@n3.nabble.com> From: Erick Erickson Date: Mon, 17 Apr 2017 07:39:39 -0700 Message-ID: Subject: Re: Getting error while excuting full import To: solr-user Content-Type: text/plain; charset=UTF-8 archived-at: Mon, 17 Apr 2017 14:40:32 -0000 I usually prefer SolrJ, here's an article explaining why and providing sample code. https://lucidworks.com/2012/02/14/indexing-with-solrj/ You can take the Tika bit out, they're unnecessary for importing from a DB. Best, Erick On Mon, Apr 17, 2017 at 5:45 AM, ankur.168 wrote: > Thanks for replying Shawn, > > There was an issue with the db connection url, silly mistake. > > I am facing one another problem, do not know if should post in the same > thread or as a new post. Anyways posting here only, let me know if needs to > be posted as new one. > > I am using DIH as you know. I have property_id as a unique key and I have i > parent and 14-15 child entities(trying to improve performance for pretty old > system hence can't avoid/reduce so many childs). > We have around 2.5 lacs ids in DB. So full import is becoming kind of near > impossible for me here. I tried to split this into multiple document files > within the same core and added a new data import handler as well. but when I > am running import on both urls. The latest data import overrides the > previous one, hence I am not able to get complete data. > > So I have 2 questions here. > > 1. Is there a better way of doing indexing and import than the way I am > doing it right now? > 2. if no, then how can I make full import faster here? > > --Ankur > > > > -- > View this message in context: http://lucene.472066.n3.nabble.com/Getting-error-while-excuting-full-import-tp4329153p4330305.html > Sent from the Solr - User mailing list archive at Nabble.com.