You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.
for other fields (score or created), sorting works, what can be wrong?
I have a python 2.7.10 and django-rest-elasticsearch 0.4
search_indexes.py
class BlogIndex(DocType):
id = Integer()
title = Text(fields={'raw': Keyword()}, fielddata=True)
score = Integer()
created = Date(default_timezone=settings.TIME_ZONE)
Class Meta:
index = 'blog'
Hello everybody.
I'm trying to sort by field title but the result is always the same,
tried such requests:
http://127.0.0.1:8000/api/v1/search/?ordering=title.raw
http://127.0.0.1:8000/api/v1/search/?ordering=-title.raw
for other fields (score or created), sorting works, what can be wrong?
I have a python 2.7.10 and django-rest-elasticsearch 0.4
search_indexes.py
views.py
The text was updated successfully, but these errors were encountered: