Skip to content

[5.x]: SearchScore return null - Graphql #15513

@The-Dan-Main

Description

@The-Dan-Main

What happened?

Description

When you try to get the searchScore through GraphQL, it always returns null. In the OrderBy parameter, it does not acknowledge "searchScore", but "score", which is fine, but the "score" attribute on entries does not exists.

Steps to reproduce

1.Graphql entries with searchScore on a search Query

Expected behavior

to return the score for each entry, which came back from the search

Actual behavior

The attribute does always return null

Craft CMS version

5.3.1

PHP version

7.3.10

Operating system and version

Plesk Obsidian with Debian Base

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions