Skip to content

Tagged queries should not ignore their boosting factors #29

@egils

Description

@egils

Solr-redis queries with tags used for highlighting ignore boosting factors. And the fact that you use highlighting on field matches or not should not affect the scoring.

For example: query ({!redis command="smembers" key="some:random:bucket"}fieldName)^0.3 score matching documents with [{"score": 1.2},{"score": 0.90000004},{"score": 0.90000004},{"score": 0.6}]. Everything seems to be fine here.

However, when using tag on same query ({!redis command="smembers" key="some:random:bucket" tag="tagName"}fieldName)^0.3 scores for the same documents become [{"score": 4},{"score": 3},{"score": 3},{"score": 2}]. And that is not something you expect to happen when using highlighting.

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