[ https://issues.apache.org/jira/browse/SOLR-8479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076667#comment-15076667 ]
Joel Bernstein commented on SOLR-8479: -------------------------------------- {code} String zkHost = zkServer.getZkAddress(); Properties props = new Properties(); Connection con = DriverManager.getConnection("jdbc:solr://" + zkHost + "?collection=collection1", props); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("select id, a_i, a_s, a_f from collection1 order by a_i desc limit 2"); {code} > Add JDBCStream for integration with external data sources > --------------------------------------------------------- > > Key: SOLR-8479 > URL: https://issues.apache.org/jira/browse/SOLR-8479 > Project: Solr > Issue Type: New Feature > Components: SolrJ > Reporter: Dennis Gove > Priority: Minor > Attachments: SOLR-8479.patch, SOLR-8479.patch > > > Given that the Streaming API can merge and join multiple incoming SolrStreams > to perform complex operations on the resulting combined datasets I think it > would be beneficial to also support incoming streams from other data sources. > The JDBCStream will provide a Streaming API interface to any data source > which provides a JDBC driver. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org