Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 22, 2017. It is now read-only.

Conversation

@dpford
Copy link
Contributor

@dpford dpford commented Apr 29, 2015

Currently, when an Elasticsearch mapping isn't specified in the processors.json file, a default mapping is set (found in /_defaults/). This might have made sense back when we had a single post type, but now that we have a number of different post types with varying fields, this seems wrong.

We should still create an explicit mapping for each doc_type, but let Elasticsearch take its best guess at a mapping in the absence of a supplied one, rather than use an incorrect mapping not meant for that doc_type.

Review: @rosskarchner @Scotchester @willbarton

@rosskarchner
Copy link
Contributor

Your ideas intrigue me and I wish to subscribe to your newsletter

@Scotchester
Copy link
Contributor

Makes sense to me.

@kurtrwall
Copy link

LGTM 👍

kurtrwall pushed a commit that referenced this pull request May 6, 2015
Remove default ES mapping functionality
@kurtrwall kurtrwall merged commit 5ca4f33 into cfpb:master May 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants