Hoppa till innehåll

Changelog

  • Add type defintions.
  • Add validation for query, start, and num parameters in search function
  • Add export for removeStopWords.
  • Do not escape query words containing :, instead surround them with quotes.
  • Add removeQueryStopWords option when instantiating SearchHelper.
  • Escape special syntax characters in getWildcardQuery.
  • Do not set tag in setHighlightOptions when it’s undefined.
  • Add setHighlightOptions method.
  • Documentation update.
  • Update to new Sitevision API imports.
  • Return Hit instead of Node as default.
  • Remove dependency to @soleil/api/data-creator.
  • Increment hit count calculation for more exact hit count when loading more hits.
  • hitCount is renamed to just count.