Thanks for help
It's a good idea configure datasource pool on Jetty or Tomcat and
after reuse on my custom plugin.
In this page of Jetty:
http://docs.codehaus.org/display/JETTY/DataSource+Examples
explain how-to configure differents datasources.
thanks again.
El 07/02/2013 17:35, Michael Della Bitta escribió:
Hello Miguel,
If you set up a JNDI datasource in your servlet container, you can use
that as your database config. Then you just need to use a pooling
datasource:
http://wiki.apache.org/solr/DataImportHandlerFaq#How_do_I_use_a_JNDI_DataSource.3F
http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html
Michael Della Bitta
------------------------------------------------
Appinions
18 East 41st Street, 2nd Floor
New York, NY 10017-6271
www.appinions.com
Where Influence Isn’t a Game
On Thu, Feb 7, 2013 at 7:20 AM, Miguel
<miguel.valen...@juntadeandalucia.es> wrote:
Hi
I need configure a mysql pool connection on Solr Server for using on custom
plugin. I saw DataImportHandler wiki:
http://wiki.apache.org/solr/DataImportHandler , but it's seems that
DataImportHandler open the connection when handler is calling and close
when finish import and I need keep opening pool to reuse connections
whenever I need them.
I not found on documentation of Apache Solr how-to define a pools connection
to DB for reusing them on whatever class of solr.
Any ideas?
thanks