You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 2.26.0 we required you to specify a "responseParser" for a custom search api that was OS, ES, or Solr. However, that was VERY limiting, and required you to return your search results from your custom search api in one of those formats. We now have the concept of mappers, which are JavaScript code that converts from the JSON format that your API returns to the native JavaScript objects that splainer-search uses. In this release we have numberOfResultsMapper and docsMapper mappers defined, and this will evolve. #132 by @epugh.