OpenSearch/core
Yannick Welsch 1a20760d79 Simplify IndexShard indexing and deletion methods (#25249)
Indexing or deleting documents through the IndexShard interface is quite complex and error-prone. It requires multiple calls, e.g. first prepareIndexOnPrimary, then do some checks if mapping updates have occurred, then do the actual indexing using index(...) etc. Currently each consumer of the interface (local recovery, peer recovery, replication) has additional custom checks built around it to deal with mapping updates, some of which are even inconsistent. This commit aims at reducing the complexity by exposing a simpler interface on IndexShard. There are no more prepare*** methods and the mapping complexity is also hidden, but still giving callers a possibility to implement custom logic to deal with mapping updates.
2017-06-19 20:11:54 +02:00
..
licenses Upgrade to lucene-7.0.0-snapshot-92b1783. (#25222) 2017-06-15 09:52:07 +02:00
src Simplify IndexShard indexing and deletion methods (#25249) 2017-06-19 20:11:54 +02:00
build.gradle Mark Log4j API dependency as non-optional 2017-06-08 16:09:34 -04:00