Skip to content

Add option to mark behavior property as "use scored sorting" #134

@maritz

Description

@maritz

Currently when you define a property with type behavior, it will never use scored indexing for sorts.

This means that for example creating a createdAt behavior automatically means that sorting by it uses redis.sort with O(N+M*log(M)) instead of redis.zrange/zrevrange with O(log(N)+M).

This can be a significant performance issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions