Atul Ranjan
08/04/2023, 6:11 AM{
"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.