On 8/9/07, Siegfried Goeschl <[EMAIL PROTECTED]> wrote: > +) my colleague just finished a database import service running within > the servlet container to avoid writing out the data to the file system > and transmitting it over HTTP.
Most people doing this read data out of the database and construct the XML in-memory for sending to Solr... one definitely doesn't want to write intermediate stuff to the filesystem (unless perhaps it's a CSV dump). > +) I think there were some discussion regarding a generic database > importer but nothing I'm aware of Absolutely a needed feature... it's in the queue: https://issues.apache.org/jira/browse/SOLR-103 But there will always be more complex cases, pulling from multiple data sources, doing some merging and munging, etc. The easiest way to handle many of those would probably be via a scripting language that does the app-specific merging+munging and then uses a Solr client (which constructs in-memory CSV or XML and sends to Solr). -Yonik