Reputation: 170
Retrieve and Rank failed to handle question even though documents and training questions with answers are available as shown follows :
and the Questions are as follows :
Thank you, Sandhya
Upvotes: 0
Views: 186
Reputation: 2765
The full error being returned by the Retrieve and Rank service that is causing this is:
Can not rerank results. Verify your query does not contain any special characters or that your schema has not changed in incompatible ways
(Although this isn't being well handled by the UI. We'll improve that, so thanks for letting us know.)
What it means is that you're using submitting queries and requesting that they be sorted by a ranker that was trained/created with a different collection, with a different configuration and schema. That doesn't work.
It is possible to use a ranker across different collections, but not in such circumstances. As I say, we'll improve the UI to make this clearer in future.
But for now, the reason you're not getting results is because that ranker you're trying to use cannot be used with this particular collection, because they are incompatible. Once you've collected enough of a ground truth to train a ranker for this particular collection, with it's own config and schema, you'll be able to submit queries using that new ranker just fine.
Upvotes: 1