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

Cao Manh Dat commented on BEAM-3947:
------------------------------------

In :
 * solr-solrj-5.x : {{method1}} is used to create a new client
 * solr-solrj-6.x: a new method is introduced, {{method2}} is used to create a 
new client, {{method1}} is deprecated.
 * solr-solrj-7.x: {{method1}} is removed.

I kinda afraid that if scope {{solr-solrj}} as provided when users provide a 
solr-solrj-7.x they will meet {{NoSuchMethodError}}, (because {{method1}} is 
not available).

 

> Add support for Solr 6.x/7.x
> ----------------------------
>
>                 Key: BEAM-3947
>                 URL: https://issues.apache.org/jira/browse/BEAM-3947
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-solr
>            Reporter: Ismaël Mejía
>            Assignee: Cao Manh Dat
>            Priority: Minor
>
> The initial PR on Solr was based on Solr 6.x, however at that time we 
> supported Java 7 so Insisted to move it to Solr 5.x (which is Java 7 
> compatible). This issue is to add support for multiple versions of Solr 
> ideally in a single module.
> Notice that I was able to recover the original code for Solr 6.x created by 
> [~caomanhdat] here (there are some differences in the way the Split was 
> calculated and maybe some other minor things):(
> [https://github.com/iemejia/beam/blob/recover-solrio/sdks/java/io/solr/pom.xml]
> This issue does not cover support for Solr 7, but if it is possible to add it 
> as part of it, it would be great.



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

Reply via email to