Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Custom Match Algorithm fails when no weighting possible #335

@masyukun

Description

@masyukun

We have a custom match algorithm that generates a cts:query value of type cts:document-query, and though the document exists, and we can run the boost-query successfully in isolation, the matching code never comes back with the specified URI as a valid match.

We believe this is because cts:document-query does not have a "weight" option, so it's filtered out of the score generation code.

Please modify the Matcher so that it allows cts:query components without weight components to still contribute to the match score. Possibly we need to not rely on the built-in weighting system.

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