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

Reproduce lastModifedMs (version part of url) in records so it may be searched / sorted over. #42

Closed
Lomilar opened this issue Feb 8, 2018 · 2 comments
Labels
enhancement Desired behavior.

Comments

@Lomilar
Copy link
Member

Lomilar commented Feb 8, 2018

No description provided.

@Lomilar Lomilar changed the title Reproduce lastModified in records so it may be searched / sorted over. Reproduce lastModifedMs (version part of url) in records so it may be searched / sorted over. Feb 8, 2018
@Lomilar Lomilar added the enhancement Desired behavior. label Feb 26, 2018
@Lomilar
Copy link
Member Author

Lomilar commented Oct 24, 2018

Elasticsearch doesn't support sorting on _version, will need eduworks/ec/kbac.skyrepo to embed version into search index document.

@Lomilar
Copy link
Member Author

Lomilar commented May 9, 2019

Now possible.

{
  sort: '[ { "@version": {"order" : "desc" , "missing" : "_last"}} ]',
  size: count
}

@Lomilar Lomilar closed this as completed May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Desired behavior.
Projects
None yet
Development

No branches or pull requests

1 participant