Search engine searchapi does not support retrieving per doc metadata directly
dacox opened this issue · 1 comments
dacox commented
Describe the bug
When using the searchapi
searchengine, I get the following error:
Search engine searchapi does not support retrieving per doc metadata directly
To Reproduce
Using the newly pushed docker image released after o19s/quepid#890
Load a Case that uses searchapi
- the case never loads results.
Name: None specified, using generated name
Search engine: searchapi
Endpoint url: http://name-of-internal-service/search/
Custom headers: { "Authorization": "Token BLAHBLAHBLAH", "Accept": "application/json", "Content-Type": "application/json", "FOO": "BAR"}
API method: POST
Proxy Requests: true
Basic Auth Credential: 0
Options:
Custom Code Mapper:
numberOfResultsMapper = function(data){
return data.length
};
docsMapper = function(data){...
Expected behavior
The case should not error
Screenshots
Additional context
I have tracked it down to 9034c0b