Skip to content

2.27.0

Compare
Choose a tag to compare
@epugh epugh released this 25 Oct 13:04
· 39 commits to main since this release

2.27.0 (2023-10-25)

  • 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.

v2.26.0...v2.27.0