Closed caipengbo closed 3 years ago
NBoost works with any JSON based system, not just Elasticsearch.
Also it works directly within python: e.g.
from nboost.plugins.models import resolve_model
reranker = resolve_model(data_dir, model_dir, model_cls)
The preranker is for cases such as these, and is turned off by default.
I do not know why implement a
PrerankPlugin
use BM25 algorithm, the ES use BM25 algorithm to scoring the results.