[ 
https://issues.apache.org/jira/browse/SOLR-13220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808269#comment-16808269
 ] 

Gus Heck edited comment on SOLR-13220 at 4/3/19 12:57 AM:
----------------------------------------------------------

hmm. I kinda like the connect()/disconnect() possibly with an informational 
listConnections()... could be generalized to other types of connections, 
parameter to timeout and auto disconnect... maybe even treat the slots in the 
connection list as leased items so that by default things always get cleared 
out.... could even be a paradigm for all things that persist between expression 
executions (names for those things being the leased item)


was (Author: gus_heck):
hmm. I kinda like the connect()/disconnect() possibly with an informational 
listConnections()... could be generalized to other types of connections, 
parameter to timeout and auto disconnect... maybe even treat the slots in the 
connection pool as leased items so that by default things always get cleared 
out.... could even be a paradigm for all things that persist between expression 
executions (names for those things being the leased item)

> Add connect Streaming Expression to create cached JDBC connections
> ------------------------------------------------------------------
>
>                 Key: SOLR-13220
>                 URL: https://issues.apache.org/jira/browse/SOLR-13220
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>
> Currently the *jdbc* Streaming Expression requires that username, password 
> and URL parameters are set to operate. This ticket will allow users to 
> configure JDBC connections using the new *connect* Streaming Expression. 
> The *jdbc* Streaming Expression will be changed to use the cached connections 
> rather than accepting parameters directly.
> The *parallel* Streaming Expression can be used to setup connections on each 
> node of a collection.
> The *Apache Hive* JDBC driver will also be included with Apache Solr as part 
> of this ticket to allow seamless out-of-the-box connection to Apache Hive.
> Syntax:
> {code:java}
> connect(connectionName, url="", username="", password=""){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to