Eh eh you're right! This is what happens when you try to learn too much things in the same moment!
Btw, i found this http://webdevelopersjournal.com/columns/connection_pool.html which is perfect, i can use the provided code as my singleton instance, now i just have to figure out how i can detect the end of the indexing operation and so close all the connections to the pool (the example shows a servlet using that singleton, and they define a destroy method, but they never use it inside the servlet class) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-plugins-is-it-possible-to-have-them-persistent-tp3292781p3297716.html Sent from the Solr - User mailing list archive at Nabble.com.