myarik / django-rest-elasticsearch

Elasticsearch support for Django REST Framework
Other
192 stars 38 forks source link

New proposals #15

Closed dmvass closed 6 years ago

dmvass commented 6 years ago

Hi @myarik, i would like propose new enhancement:

  1. ElasticAPIView as base view class for all elasticsearch views.
  2. Simplify ListElasticMixin class, because mixin should consist minimal logic and being very simple.
  3. Upgrade ElasticOrderingFilter for more options customization.
  4. Added method get_es_query in ElasticSearchFilter for simple search query customization.
  5. Added new filter validators, because method clean_field was very hard to extend.
  6. Renamed es_ordering to es_ordering_fields.

Current API changed by minimum in this updates.

Some proposals in future:

dmvass commented 6 years ago

Thanks @myarik! I'm did this fixes.