Skip to content

Override default order_within_rank in pg_search_scope to assist dynamic ordering #352

@NeoElit

Description

@NeoElit

Is there a proper way to suppress the default order_within_rank inside pg_search_scope?
In my use case this (order_within_rank) should be varying based on the context.

Currently I have a two options:

  1. Use different pg_search_scopes (lots of scopes.. side effects?)
  2. set order_within_rank => "1 DESC" (side effects?)

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