Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够在我的 UI 中显示 solr 用于运行最终查询的查询术语。例如,我可能会键入查询“run”,但在幕后 solr 将使用词干提取来查询“ran”和“running”,我可能还定义了一个具有“run = sprint”的同义词。
我想向用户展示,尽管他们输入了“run”,但实际查询是“run run running sprint”
有什么简单的方法可以做到这一点?
谢谢!
尝试设置debugQuery=on。看到这个和这个。
debugQuery=on