Returning results with a relevancy score of 0 when sort field is passed

When passing a sort field, the client seems to be returning results with a relevancy score of 0. Should these not be excluded completely as they are not relevant to the search term?

We have a sort by price field. When selecting either low or high, it seems to be returning our most expensive, or inexpensive indexed product and doesn't check if the relevancy score is above 0.

Initially posted this as an issue on the javascript API client GitHub page, however, they have mentioned this is an API issue and should be posted here. https://github.com/swiftype/swiftype-app-search-javascript/issues/61

Thanks for any help.

Hi @Harry_Knowles. Are you seeing _meta.score being null or 0? If you can provide a snippet (of how you invoke the API with the JS client) that would be very helpful.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.