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.
我已经索引了 400 个文档。然后我想给两个文档和 lucene 来返回这两个文档之间的相似性。那可能吗?提前致谢。
简单来说。计算两个文档向量的余弦。
示例代码