Skip to content

Error after updating to elasticsearch 7.1.0 #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yshym opened this issue May 26, 2019 · 1 comment
Closed

Error after updating to elasticsearch 7.1.0 #174

yshym opened this issue May 26, 2019 · 1 comment

Comments

@yshym
Copy link

yshym commented May 26, 2019

documents.py :

from django_elasticsearch_dsl import DocType, Index
from .models import File


textfile = Index('textfiles')

@textfile.doc_type
class FileDocument(DocType):
    class Meta:
        model = File

        fields = (
            'name',
            'description',
        )

after running ./manage.py search index --create/--rebuild :

elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'Root mapping definition has unsupported parameters:  [doc : {properties={name={type=text}, description={type=text}}}]')

@barseghyanartur
Copy link
Contributor

@fly1ngDream:

Duplicate of #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants