Skip to content

Search().to_queryset() should default keep_order=True #27

@nE0sIghT

Description

@nE0sIghT

As per documentation [1] qs is just a django queryset and it is called with order_by to keep the same order as the opensearch result, however default value of keep_order is set to False [2].
This is differs from upstream project and differs from documentation.

Could you please return keep_order default True?

[1] https://django-opensearch-dsl.readthedocs.io/en/latest/getting_started/#search
[2] https://github.com/Codoc-os/django-opensearch-dsl/blob/master/django_opensearch_dsl/search.py#L20

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions