Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch-Rebuild does not index from new to old #3955

Closed
MrGeneration opened this issue Feb 8, 2022 · 0 comments
Closed

Elasticsearch-Rebuild does not index from new to old #3955

MrGeneration opened this issue Feb 8, 2022 · 0 comments

Comments

@MrGeneration
Copy link
Member

MrGeneration commented Feb 8, 2022

Infos:

  • Used Zammad version: stable / 5.0.3
  • Installation method (source, package, ..): any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: any; verified on ES 7.17
  • Browser + version: any
  • Ticket: #10100499

Expected behavior:

Zammad reindexes it's data from newest creation to oldest (desc).

Actual behavior:

Zammad Reindex from smallest to highest id (asc).

According to

query = all.order(created_at: :desc)
it should be created_at :desc

However, when looking into the indices of elasticsearch you'll see a different behavior:
image

Steps to reproduce the behavior:

  • Reindex and check the indices

Yes I'm sure this is a bug and no feature request or a general question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants