The Elasticsearch inference API supports a rerank task type for reranker models loaded into elasticsearch via eland.
Eland does not have a reranker task_type. Instead, the task type text_similarity should be used.
Updating the CLI help message to direct users to use text_similarity for rerankers will reduce confusion and frustration.
Something along the lines of
text_similarity, used for rerank tasks in the Inference API
The Elasticsearch inference API supports a
rerank
task type for reranker models loaded into elasticsearch via eland. Eland does not have areranker
task_type. Instead, the task typetext_similarity
should be used.Updating the CLI help message to direct users to use
text_similarity
for rerankers will reduce confusion and frustration.Something along the lines of
text_similarity, used for rerank tasks in the Inference API