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

Make GeoContext mapping idempotent #10602

Closed
wants to merge 1 commit into from

Conversation

areek
Copy link
Contributor

@areek areek commented Apr 15, 2015

closes #10581
closes #8937

@areek areek force-pushed the fix/context_mapping_idmptcy branch from 49decd8 to 98899c5 Compare April 15, 2015 01:32
@areek areek added the :Search/Mapping Index mappings, including merging and defining field types label Apr 15, 2015
.endObject().endObject()
.endObject().endObject();

assertAcked(prepareCreate(INDEX).setSettings(ImmutableSettings.builder().put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)).addMapping(TYPE, mapping.string()));
Copy link
Member

Choose a reason for hiding this comment

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

Why does this need a single shard?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The bug could be reproduced using a single shard, changed it to test with multiple shards

@rjernst
Copy link
Member

rjernst commented Apr 15, 2015

@areek The fix LGTM, just a couple questions about the test.

@areek areek force-pushed the fix/context_mapping_idmptcy branch from 3164b03 to b072cac Compare April 15, 2015 16:00
@areek areek closed this Apr 21, 2015
@clintongormley clintongormley changed the title [FIX] Make GeoContext mapping idempotent Make GeoContext mapping idempotent Apr 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types :Search/Suggesters "Did you mean" and suggestions as you type v1.5.2 v1.6.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Endless re-syncing mappings Completion type mapping is not idempotent
3 participants