Is there a simple way to get all the fields from a jdbc resultset into a
bunch of SolrJ documents, which I will then send to be indexed in Solr?
I would like to avoid the looping required to copy the data one field at
a time. Copying it one document at a time would be acceptable, but it
would be nice if there was a way to copy them all at once.
Another idea that occurred to me is to add the dataimporter jar to my
project and leverage it to do the heavy lifting, but I will need some
pointers about what objects and methods to research. Is that a
reasonable idea, or is it too integrated into the server code to be used
with SolrJ?
Can anyone point me in the right direction?
Thanks,
Shawn