elasticsearch/modules/percolator
Luca Cavanna 5523976242
Extract parseDocument from MappingLookup (#72694)
MappingLookup became capable of parsing documents because we needed the search execution context to expose the ability to parse a document that did not depend on a mutable document mapper (only the percolator uses this feature).

In hindsight, parsing documents is quite a specific usecase that does not quite fit in MappingLookup. Also, it introduces the need for MappingLookup to hold IndexSettings, IndexAnalyzers and DocumentParser only for that purpose.

Instead, we can expose the DocumentParser by making it public and make its parse method accept a MappingLookup instance.
2021-05-05 15:28:59 +02:00
..
src Extract parseDocument from MappingLookup (#72694) 2021-05-05 15:28:59 +02:00
build.gradle Apply REST API compatibility testing for the :modules (#71137) 2021-04-02 11:20:54 -05:00