30.5.1 连接Solr
你可以注入一个自动配置的SolrClient
实例,就像其他Spring beans那样,该实例默认使用localhost:8983/solr
连接Solr服务器:
如果你添加自己的SolrClient
类型的@Bean
,它将会替换默认实例。
Last updated
Was this helpful?
你可以注入一个自动配置的SolrClient
实例,就像其他Spring beans那样,该实例默认使用localhost:8983/solr
连接Solr服务器:
如果你添加自己的SolrClient
类型的@Bean
,它将会替换默认实例。
Last updated
Was this helpful?