Skip to content
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

Improve mapping settings #17

Merged
merged 4 commits into from Jan 22, 2016
Merged

Improve mapping settings #17

merged 4 commits into from Jan 22, 2016

Conversation

ederfmartins
Copy link
Contributor

Adding functionality to mapping.Mapping to allow addition of custom filters and analyzers on index creation.

indexes = set()
for model in mapped_models:
indexes.add(model._index)
if es is None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aqui nao precisa desse "if" apenas es = model.get_es(es) se o es for != de None o get_es nao fara nada, apenas tentara pegar o _es caso o es passado seja None

rochacbruno added a commit that referenced this pull request Jan 22, 2016
Improve mapping settings - half of the #5
@rochacbruno rochacbruno merged commit d6926b9 into master Jan 22, 2016
@rochacbruno rochacbruno deleted the improve_mapping_settings branch February 8, 2016 00:54
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

Successfully merging this pull request may close these issues.

None yet

2 participants