feat: add ads-b exchange source
This commit is contained in:
@@ -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' },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user