Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search option to apply term boosting #274

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Add search option to apply term boosting #274

merged 1 commit into from
Jul 22, 2024

Commits on Jul 19, 2024

  1. Add search option to apply term boosting

    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: #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.
    lucaong committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    b997fc7 View commit details
    Browse the repository at this point in the history