Compare commits
1 Commits
v2.1.0
...
2edf100fca
| Author | SHA1 | Date | |
|---|---|---|---|
| 2edf100fca |
@@ -26,8 +26,8 @@ export async function createIndex(client, index) {
|
||||
mappings: {
|
||||
[doctype]: {
|
||||
properties: {
|
||||
operator: { type: 'keyword' },
|
||||
aircraft: { type: 'text' },
|
||||
operator: { type: 'text', fields: { raw: { type: 'keyword' } } },
|
||||
aircraft: { type: 'text', fields: { raw: { type: 'keyword' } } },
|
||||
aircraft_manufacturer: { type: 'keyword' },
|
||||
transponder: { type: 'keyword' },
|
||||
callsign: { type: 'keyword' },
|
||||
@@ -45,8 +45,8 @@ export async function createIndex(client, index) {
|
||||
squawk: { type: 'keyword' },
|
||||
spi: { type: 'boolean' },
|
||||
position_source: { type: 'keyword' },
|
||||
from: { type: 'text' },
|
||||
to: { type: 'text' },
|
||||
from: { type: 'text', fields: { raw: { type: 'keyword' } } },
|
||||
to: { type: 'text', fields: { raw: { type: 'keyword' } } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user