• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucaong / minisearch / #572
99%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2024 09:36AM UTC
Jobs 1
Files 4
Run time 6min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2024 09:36AM UTC coverage: 98.526% (+0.005%) from 98.521%
#572

push

github

web-flow
Add search option to apply term boosting (#274)

Term boosting (giving greater or lower importance to specific query
terms) was previously not supported. It was technically possible by
using the `boostDocument` search option (as shown here: https://github.com/lucaong/minisearch/issues/268) but cumbersome and error prone.

This commit adds a new search option, `boostTerm`, which makes it a lot
easier to apply term boosting. The option is a function that is invoked
with each search term, and is expected to return a numeric boost factor.

224 of 234 branches covered (95.73%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 1 file covered. (100.0%)

645 of 648 relevant lines covered (99.54%)

732.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #572.1 22 Jul 2024 09:36AM UTC 4
98.53
Source Files on build #572
  • Tree
  • List 4
  • Changed 4
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ec9c0ff5 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc