Happy Friday everyone :tada: I need small help. W...
# random
a
Happy Friday everyone 🎉 I need small help. Wanted to add one sortable attribute in my collection:
Copy code
{
  "fields": [
    {
      "facet": true,
      "index": true,
      "infix": false,
      "name": "my_sortable_attribute",
      "optional": true,
      "sort": true,
      "type": "number"
    }
  ]
}
Actually, I want to store timestamp on this attribute and wanted to sort items by
my_sortable_attribute
:DESC. Did the setup already. But, searching is taking too much time(didn't get response after 15-20 minutes) once I applied
?sort_by=my_sortable_attribute:DESC
. Even I tried this
?sort_by=my_sortable_attribute(missing_values: last):DESC
. Let me know if I am doing something wrong.