Skip to content

Commit

Permalink
Clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbarny committed Oct 7, 2024
1 parent 483551e commit c61c52b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -686,10 +686,10 @@ private static Map<String, Mapper> buildMergedMappers(
}

/*
* We're ignoring the field if a dynamic mapping update tries to define a conflicting field type (dynamic mappings update)
* We're ignoring the field if a dynamic mapping update tries to define a conflicting field type.
* This is caused by another index request with a different value racing to update the mappings.
* After ignoring the update the index request will be re-tried and sees the updated mappings for this field.
* The updated mappings will be taken into account when parsing the document
* After updating the mappings, the index request will be re-tried and sees the updated mappings for this field.
* The updated mappings will then be taken into account when parsing the document
* (for example by coercing the value, ignore_malformed values, or failing the index request due to a type conflict).
*/
private static boolean isConflictingDynamicMapping(
Expand Down

0 comments on commit c61c52b

Please sign in to comment.