projectEndings / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
46 stars 21 forks source link

Iss297 tfidf #298

Closed joeytakeda closed 2 months ago

joeytakeda commented 2 months ago

This does two (minor) things:

  1. Fixes the hcmc:getTotalTermsInDoc function (which just failed entirely due to document-uri() no longer working)
  2. Add @data-scoringalgorithm to the search HTML (since it may be useful to have as information for the scoring)