0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Rename Elasticsearch5SearchQuery to Elasticsearch5SearchQueryCompiler as per #4059

This commit is contained in:
Matt Westcott 2018-04-10 15:24:10 +01:00
parent ed83585b86
commit 961a2f91d0

View File

@ -1,6 +1,6 @@
from .elasticsearch5 import (
Elasticsearch5Index, Elasticsearch5Mapping, Elasticsearch5SearchBackend,
Elasticsearch5SearchQuery, Elasticsearch5SearchResults)
Elasticsearch5SearchQueryCompiler, Elasticsearch5SearchResults)
class Elasticsearch6Mapping(Elasticsearch5Mapping):
@ -40,7 +40,7 @@ class Elasticsearch6Index(Elasticsearch5Index):
pass
class Elasticsearch6SearchQuery(Elasticsearch5SearchQuery):
class Elasticsearch6SearchQueryCompiler(Elasticsearch5SearchQueryCompiler):
mapping_class = Elasticsearch6Mapping
@ -51,7 +51,7 @@ class Elasticsearch6SearchResults(Elasticsearch5SearchResults):
class Elasticsearch6SearchBackend(Elasticsearch5SearchBackend):
mapping_class = Elasticsearch6Mapping
index_class = Elasticsearch6Index
query_class = Elasticsearch6SearchQuery
query_class = Elasticsearch6SearchQueryCompiler
results_class = Elasticsearch6SearchResults