I wrote my custom update handler for my solr installation, using jdbc to
query a mysql database. Everything works fine: the updater queries the db,
gets the data i need and update it in my documents! Fantastic!

Only issue is i have to open and close a mysql connection for every document
i read. Since we have something like 10kk indexed document, i was thinking
about opening a mysql connection at the very beginning of the indexing
process, keeping it stored somewhere and use it inside my custom update
handler. When the whole indexing process is complete, the connection should
be closed.

So far, is it possible?

Thanks all in advance!

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-indexing-process-keep-a-persistent-Mysql-connection-throu-all-the-indexing-process-tp3278608p3278608.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to