Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E455818677 for ; Mon, 29 Jun 2015 09:00:23 +0000 (UTC) Received: (qmail 25978 invoked by uid 500); 29 Jun 2015 09:00:18 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 25916 invoked by uid 500); 29 Jun 2015 09:00:18 -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 Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 11476 invoked by uid 99); 29 Jun 2015 08:54:58 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1rLuSHCAfAQ82qzaX1Sx4g/Ipwz38YcIqdKP+aBf1Rk=; b=geFAxngbng9DydGnpWUNltFgDD08ggE+5Qs4TIp73/symZDfFyYA4vRANL+qMHw9x5 +PbTxNJTxBygS575cSoeFsem/T17MUm+TwNJrB1ddBUrcHmU/+QLGMzWcrgyWg4Gdoi1 esQUj7iG/mQrfcqhhAfmmD0adq3A048fmyxw01yHQYg3Qtx1FwnpSIGlv4AFgyCy2145 kYe+vvl/QWcUyBu/ViexriHmuCVyd723tCJIJWQCmpKZFs+/q7VxVfAKmvgKKO7nMtUs YJOMVkw82C40LJj5R/PBWrci+DrflONk+bfdGNGid+iUYOhDlyvW7kkcNjSO0Jn76chw 2RKA== MIME-Version: 1.0 X-Received: by 10.202.92.68 with SMTP id q65mr12258126oib.11.1435568039628; Mon, 29 Jun 2015 01:53:59 -0700 (PDT) Date: Mon, 29 Jun 2015 12:53:59 +0400 Message-ID: Subject: SOLR 5.1.0 DB dataimport handler from orientdb From: Nauman Ramzan To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a113d5ed00d953e0519a43bd1 --001a113d5ed00d953e0519a43bd1 Content-Type: text/plain; charset=UTF-8 Hi everyone ! I want to import data from orientdb in solr 5.1.0. here is my configurations *data-config.xml* > > > > driver="com.orientechnologies.orient.jdbc.OrientJdbcDriver" >> url="jdbc:orient:remote:localhost/emallates_combine" user="root" >> password="root" batchSize="-1"/> > > > > > deltaQuery="select * from sellings where updatedAt > >> '${dataimporter.last_index_time}'"> > > > > > > > > > > > > *JDBC* driver link http://orientdb.com/download/ and I paste this driver in* {solr_install_dir}/dist/orientdb-jdbc-2.0.5.jar* my configuration is not showing any error nor any output. here is log of solr after full/delta import call. INFO - 2015-06-29 12:37:24.894; [ DB] > org.apache.solr.handler.dataimport.DataImporter; Loading DIH Configuration: > db-data-config.xml INFO - 2015-06-29 12:37:24.899; [ DB] > org.apache.solr.handler.dataimport.DataImporter; Data Configuration loaded > successfully INFO - 2015-06-29 12:37:24.900; [ DB] org.apache.solr.core.SolrCore; > [DB] webapp=/solr path=/dataimport > params={debug=false&optimize=false&indent=true&commit=true&clean=true&wt=json&command=full-import&verbose=false} > status=0 QTime=7 INFO - 2015-06-29 12:37:24.902; [ DB] > org.apache.solr.handler.dataimport.DataImporter; Starting Full Import *WARN - 2015-06-29 12:37:24.912; [ DB] > org.apache.solr.handler.dataimport.SimplePropertiesWriter; Unable to read: > dataimport.properties* INFO - 2015-06-29 12:37:24.914; [ DB] org.apache.solr.core.SolrCore; > [DB] webapp=/solr path=/dataimport > params={indent=true&wt=json&command=status&_=1435567044911} status=0 > QTime=1 INFO - 2015-06-29 12:37:24.942; [ DB] > org.apache.solr.handler.dataimport.JdbcDataSource$1; Creating a connection > for entity item with URL: jdbc:orient:remote:localhost/emallates_combine INFO - 2015-06-29 12:37:24.942; [ DB] > org.apache.solr.update.processor.LogUpdateProcessor; [DB] webapp=/solr > path=/dataimport > params={debug=false&optimize=false&indent=true&commit=true&clean=true&wt=json&command=full-import&verbose=false} > status=0 QTime=7 {deleteByQuery=*:* (-1505301149686693888)} 0 49 INFO - 2015-06-29 12:37:32.992; [ DB] org.apache.solr.core.SolrCore; > [DB] webapp=/solr path=/dataimport > params={wt=json&command=abort&_=1435567052987} status=0 QTime=1 INFO - 2015-06-29 12:37:33.000; [ DB] org.apache.solr.core.SolrCore; > [DB] webapp=/solr path=/dataimport > params={indent=true&wt=json&command=status&_=1435567052997} status=0 > QTime=0 SOLR is not importing any data. What am I doing wrong ? and second why am I getting above warming ? Thank you Regards Nauman Ramzan --001a113d5ed00d953e0519a43bd1--