SolrJ goes through the Solr stack. It talks to the Solr HTTP service or, in Embedded mode, to the top-level Solr code. All documents are processed just the same as if you uploaded them with 'curl'.
You have to write JDBC code and submit the fields. There is no special code involved. On Wed, Apr 7, 2010 at 8:26 PM, bbarani <bbar...@gmail.com> wrote: > > Hi, > > I am currently using DIH to index the data from a database. I am just trying > to figure out if there are any other open source tools which I can use just > for indexing purpose and use SOLR for querying. > > I also thought of writing a custom code for retrieving the data from > database and use SOLRJ to add the data as documents in to lucene. One doubt > here is that if I use the custom code for retrieving the data and use SOLRJ > to commit that data, will the schema file be still used? I mean the field > types / analyzers / tokenizers etc.. present in schema file? or do I need to > manipulate each data (to fit to corresponding data type) in my SOLRJ > program? > > Please let me know your thoughts. > > Thanks, > Barani > -- > View this message in context: > http://n3.nabble.com/Is-there-any-other-tool-other-than-DIH-to-index-a-database-tp705002p705002.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Lance Norskog goks...@gmail.com