Field alias
Any field, function, or transformer can be displayed with a different name in the output document:
Example |
Meaning |
id,price:crazy_price_field |
return the stored field ‘crazy_price_field‘ but display it as ‘price‘ |
id,price:sum(a,b) |
return price as the sum of fields a+b |
fl=my_alias:field_name |
returns "field_name" but displays it as "my_alias" |
时间: 2024-10-27 00:08:36