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 Feb 20, 2019. It is now read-only.
I'm writing a django app and would like to create some mappings using class extending Indexable and MappingType helpers. The problem is that get_mapping method is never called. I have checked the source code of those helpers and can't find any line that would lead to this call. Maybe I am doing something wrong?
ElasticUtils doesn't (yet) have any code to create indexes. The get_mapping suggestion is there to give you some of the scaffolding you need to set up the code for creating an index with specified mappings.
Just got caught by this...
It would be nice to add something in the doc about it, not sure where to put it though. I would rather add it in the method's doc... Hint anyone ?
Yeah, I spend too much time figuring out why my geo_point type is not created as such, basically right now it picks it up from ORM and not from mappings .
Basically extract_document() in elasticutils.contrib.django.tasks.index_objects can only infer core types and not geo_point type for example
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm writing a django app and would like to create some mappings using class extending
Indexable
andMappingType
helpers. The problem is that get_mapping method is never called. I have checked the source code of those helpers and can't find any line that would lead to this call. Maybe I am doing something wrong?Here's the definition of my get_mapping:
The text was updated successfully, but these errors were encountered: