[
https://issues.apache.org/jira/browse/SOLR-8064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14790994#comment-14790994
]
Shalin Shekhar Mangar commented on SOLR-8064:
---------------------------------------------
I believe you can specify the applicationIntent as a property inside the JDBC
URL just like you have specified databaseName.
Also, please ask such questions on solr-user first to verify a bug before
opening a Jira issue.
> Solr Data Import handler with ApplicationIntent=ReadOnly
> --------------------------------------------------------
>
> Key: SOLR-8064
> URL: https://issues.apache.org/jira/browse/SOLR-8064
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 5.0
> Reporter: Aniket Khare
> Priority: Blocker
> Labels: easyfix
>
> I am trying to use dataImportHandler with following connection string where I
> have added paramter as ApplicationIntent=ReadWrite which will automatically
> redirect the SQL connection to ReadOnly node.
> <dataSource type="JdbcDataSource"
> driver="com.microsoft.sqlserver.jdbc.SQLServerDriver"
> url="jdbc:sqlserver://server;databaseName=TestDatabase"
> ApplicationIntent="Readonly"
> user="Username"
> password="Password"/>
> I guess the DataImportHandler does not support this feature yet and because
> of that I am blocked for the Production push.
> Could you please help?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]