Re: Getting started with indexing a database

2012-01-15 Thread Rakesh Varna
Hi Mike, Can you try removing ' from the nested entities? Just keep it in the top level entity. Regards, Rakesh Varna On Wed, Jan 11, 2012 at 7:26 AM, Gora Mohanty wrote: > On Tue, Jan 10, 2012 at 7:09 AM, Mike O'Leary wrote: > [...] > > My data-config.xml file looks like this: > > > > >

Re: Getting started with indexing a database

2012-01-11 Thread Gora Mohanty
On Tue, Jan 10, 2012 at 7:09 AM, Mike O'Leary wrote: [...] > My data-config.xml file looks like this: > > >                url="jdbc:mysql://localhost:3306/bioscope" user="db_user" > password=""/> >   >                deltaQuery="SELECT doc_id FROM bioscope.docs where last_modified > > '${datai

Re: Getting started with indexing a database

2012-01-11 Thread Erick Erickson
I'm not going to be much help here since DIH is a mystery to me, I usually go with a SolrJ program when DIH gets beyond simple cases. But have you seen: http://wiki.apache.org/solr/DataImportHandler#interactive It's a tool that helps you see what's going on with your query. Best Erick On Mon, Ja

Getting started with indexing a database

2012-01-09 Thread Mike O'Leary
I am trying to index the contents of a database for the first time, and I am only getting the primary key of the table represented by the top level entity in my data-config.xml file to be indexed. The database I am starting with has three tables: The table called docs has columns called doc_id,

Re: Indexing a database

2010-06-29 Thread Koji Sekiguchi
(10/06/30 1:11), Lance Hill wrote: How do I know if solr is actually loading my database driver properly? I added the mysql connector to the solr/lib directory, I added to the solrconfig.xml just to be sure it would find the connector. When I start the application, I see it loaded my dataImporte

RE: Indexing a database

2010-06-29 Thread Ahmet Arslan
> Yes, it is registered exactly as you > indicated in solrconfig and when the > application starts up, I can see a message indicating the > data-config is > loaded successfully. So although the data config is loaded > successfully, I > cannot seem to access the dataimport handler. Strange, solr/da

RE: Indexing a database

2010-06-29 Thread Lance Hill
-Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Tuesday, June 29, 2010 12:12 PM To: solr-user@lucene.apache.org Subject: Re: Indexing a database > How do I know if solr is actually > loading my database driver properly? I > added the mysql connector to the solr/lib

Re: Indexing a database

2010-06-29 Thread Ahmet Arslan
> How do I know if solr is actually > loading my database driver properly? I > added the mysql connector to the solr/lib directory, I > added dir="./lib" /> to the solrconfig.xml just to be sure it > would find the > connector. When I start the application, I see it loaded my > dataImporter > data

Indexing a database

2010-06-29 Thread Lance Hill
How do I know if solr is actually loading my database driver properly? I added the mysql connector to the solr/lib directory, I added to the solrconfig.xml just to be sure it would find the connector. When I start the application, I see it loaded my dataImporter data config, but when I try to acce