Class LookupRuntimeFieldType

java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.LookupRuntimeFieldType

public final class LookupRuntimeFieldType extends MappedFieldType
A runtime field that retrieves fields from related indices.
 {
     "type": "lookup",
     "target_index": "an_external_index",
     "input_field": "ip_address",
     "target_field": "host_ip",
     "fetch_fields": [
         "field-1",
         "field-2"
     ]
 }