-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(elasticsearch): improve mappings - EUBFR-88 (#55)
* feat(elasticsearch): add mappings * feat(elasticsearch): add mappings * Remove google shortener
- Loading branch information
1 parent
34fdb1e
commit 8a67c11
Showing
5 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
module.exports = { | ||
project: { | ||
properties: { | ||
budget: { | ||
properties: { | ||
funding_area: { | ||
type: 'keyword', | ||
}, | ||
}, | ||
}, | ||
computed_key: { | ||
type: 'keyword', | ||
}, | ||
coordinators: { | ||
properties: { | ||
country: { | ||
type: 'keyword', | ||
}, | ||
}, | ||
}, | ||
ec_priorities: { | ||
type: 'keyword', | ||
}, | ||
producer_id: { | ||
type: 'keyword', | ||
}, | ||
programme_name: { | ||
type: 'keyword', | ||
}, | ||
project_locations: { | ||
properties: { | ||
location: { | ||
type: 'geo_point', | ||
ignore_malformed: true, | ||
}, | ||
}, | ||
}, | ||
timeframe: { | ||
properties: { | ||
from: { | ||
type: 'date', | ||
}, | ||
to: { | ||
type: 'date', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; |