feat: add ads-b exchange source

This commit is contained in:
2018-11-02 14:49:40 -07:00
parent aca5c03388
commit 9f0da54ccf
3 changed files with 38 additions and 3 deletions

View File

@@ -26,6 +26,9 @@ export async function createIndex(client, index) {
mappings: {
[doctype]: {
properties: {
operator: { type: 'keyword' },
aircraft: { type: 'text' },
aircraft_manufacturer: { type: 'keyword' },
transponder: { type: 'keyword' },
callsign: { type: 'keyword' },
origin_country: { type: 'keyword' },
@@ -42,6 +45,8 @@ export async function createIndex(client, index) {
squawk: { type: 'keyword' },
spi: { type: 'boolean' },
position_source: { type: 'keyword' },
from: { type: 'text' },
to: { type: 'text' },
},
},
},