solr api add_engine报错
Open
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 657
- PR merge metrics
- No merged PRs in 30d
Description
我运行了官方的例子,solr默认engine的名字为collection1,我想在solr中添加一个collection,我找到了solr_tools 中的add_engine方法,add_engine("localhost", "collection2", 8900)调用后报了如下错误,不知道如何解决
```bash
*****[Request Error]: Solr instance is not running in SolrCloud mode.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the solr_tools add_engine method and the official example referenced in the report. Check how the Solr instance is configured and whether its mode matches the method's requirement; done means adding collection2 no longer produces the SolrCloud mode error.
Written by the indexing model from the issue text.
Assessment
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100