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.
我目前正在使用 Xapian 对 Debian 包执行一些查询。我正在使用 tfidf 算法对所有已安装软件包的软件包术语进行加权,然后使用权重最大的术语搜索 apt-xapian-index。
但是,当我执行 Xapian 查询时,并没有考虑我的术语的权重。因此,查询 make 不会优先考虑权重最大的词条,它假设所有词条都相等。
我正在为 Xapian 使用 python 绑定,我想知道是否有办法考虑 Xapian 查询中的术语权重。