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" |
原文:http://www.cnblogs.com/lykm02/p/4441601.html