spring 引导数据只支持solrj5.5?
spring boot data only support solrj5.5?
目前,我使用 solr 7.1,并希望与 spring boot 集成,但可能 spring boot 和 solrj 支持的最高版本是 5.5.but 我用的是 solr 7.1,而 solr 的 HttpSolrServer 已弃用。是否可以使用 solr 7.1
执行集成
可以在 spring-boot.xml 中升级特定库的各个版本。
spring 引导中有一个文件管理它在此处找到的所有预设版本:https://github.com/spring-projects/spring-boot/blob/1.5.x/spring-boot-dependencies/pom.xml
<solr.version>5.5.5</solr.version>
您可以尝试在 您自己的 pom.xml
中覆盖此版本
<properties>
<solr.version>7.1</solr.version>
</properties>
但请注意这可能会破坏其他内容。
目前,我使用 solr 7.1,并希望与 spring boot 集成,但可能 spring boot 和 solrj 支持的最高版本是 5.5.but 我用的是 solr 7.1,而 solr 的 HttpSolrServer 已弃用。是否可以使用 solr 7.1
执行集成可以在 spring-boot.xml 中升级特定库的各个版本。
spring 引导中有一个文件管理它在此处找到的所有预设版本:https://github.com/spring-projects/spring-boot/blob/1.5.x/spring-boot-dependencies/pom.xml
<solr.version>5.5.5</solr.version>
您可以尝试在 您自己的 pom.xml
中覆盖此版本<properties>
<solr.version>7.1</solr.version>
</properties>
但请注意这可能会破坏其他内容。