pyserini检索库 - peter-xbs/CommonCodes GitHub Wiki
git地址
https://github.com/castorini/pyserini
示例
from pyserini.search.lucene import LuceneSearcher
searcher = LuceneSearcher.from_prebuilt_index('msmarco-v1-passage')
doc = searcher.doc('7157715')
说明
文本检索,在不用ElasticSearch情况下python的快速实现,可同时集成bm25/向量检索等功能