Skip to content

Boosting on different fields #2340

Open

Description

@kabikaj

How can I define boosts for query terms but also specify the field? For example, I have title, entities and contents and I want to specify different boosts on each of them.
I don't find it in the documentation:
https://github.com/castorini/pyserini/blob/master/docs/usage-querybuilder.md
https://github.com/castorini/pyserini/blob/master/pyserini/search/lucene/querybuilder.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions