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.
我在 Lucene 中进行了大约 10 个字段的多字段搜索。在显示结果时,我想找出实际匹配的字段。
这样做最有效的方法是什么?
这不是微不足道的,但有几种方法可以找出“哪个字段匹配”查询。
看看这个最近的讨论。