http://wiki.apache.org/solr/DIHQuickStart
http://wiki.apache.org/solr/DataImportHandlerFaq
http://wiki.apache.org/solr/DataImportHandler
-Original Message-
From: Tri Nguyen [mailto:tringuye...@yahoo.com]
Sent: Thursday, November 11, 2010 9:34 PM
To: solr-user@lucene.apache.org
Subject: Re: importing from java
another question is, can I write my own DataImportHandler class?
thanks,
Tri
From: Tri Nguyen
To: solr user
Sent: Thu, November 11, 2010 7:01:25 PM
Subject: importing from java
Hi,
I'm restricted to the following in regards to importing.
I have access to a list (Iterator) of Java objects I need to import into
solr.
Can I import the java objects as part of solr's data import interface
(whenever
an http request to solr to do a dataimport, it'll call my java class to get
objects)?
Before I had direct read only access to the db and specified the column
mappings
and things were fine with the data import.
But now I am restricted to using a .jar file that has an api to get the
records
in the database and I need to publish these records in the db. I do see
solrj
and but solrj is seaparate from the solr webapp.
Can I write my own dataimporthandler?
Thanks,
Tri