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

Custom Match Algorithm fails when no weighting possible #335

Open
masyukun opened this issue Dec 12, 2019 · 0 comments
Open

Custom Match Algorithm fails when no weighting possible #335

masyukun opened this issue Dec 12, 2019 · 0 comments

Comments

@masyukun
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant