在retrieval.conf中添加SynonymSolrQBuilder报错没有返回
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 657
- PR merge metrics
- No merged PRs in 30d
Description
添加pandord_synony.dict

dict.conf添加

retrieval.conf修改为

返回结果报错
RAW: solr_result[{"responseHeader":{"status":400,"QTime":33,"params":{"q":"question:区别 AND +basic_token:(差别 )","fl":"id,question,answer","rows":"15","wt":"json"}},"error":{"msg":"undefined field basic_token","code":400}}
], response not exist;

请问是什么原因?是配置的问题吗?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with retrieval.conf and dict.conf, then inspect the added pandord_synony.dict and the Solr schema or field configuration used by SynonymSolrQBuilder. Reproduce the query and trace why basic_token is generated but not available to Solr. Done means synonym retrieval returns a valid response without the undefined field 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
- Needs clarification
- Newbie friendliness
- 30/100