elastic / elastic/app-search-javascript

Sort using

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
67
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hi,
I am using the `sort` attribute on `published_at` (date type) for documents.
But it looks like if the document doesn't have `published_at` attribute, the sorting won't display the document:

```html

"sort" :[
{ "published_at" : "desc"}
]

```

It should sort the documents à the end even the attributes is missing no ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.