-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: global configuration option to select stored languages #867
Comments
This would be interesting for Pelias instances that need few languages. Could we also change the default language ? To have |
Another reason to support this sort of thing: currently the list of sub-properties of the Here's the full list from one of our planet indicies, see if you can spot the interesting ones:
With values like |
Since this should be done at import time, I suggest something like {
"imports": {
"langs": ["en", "fr", "it", "nl"]
}
} With an extension for default language: {
"imports": {
"langs": {
"keep": ["en", "fr", "it", "nl"],
"default": "en"
}
}
|
I realize I never replied to the |
The language filtering can be performed in |
Yes, this sounds good to me 👍 |
I want a t-shirt that says |
We currently import names for records in many different languages (mostly from OSM and WOF). For example, the document we end up storing in Elasticsearch for the Who's on First San Francisco record has the following names:
I don't doubt that all these values are important to someone, but they are probably not all important to everyone. These name records are both stored and indexed, so there is certainly a cost to keeping them all.
It might make sense to add a configuration option, probably in
pelias.json
, that would control what languages are allowed to be imported across all Pelias services. Placeholder, for example, stores similar sets of languages.This would allow different Pelias installations to be better tuned for only the data they need.
The text was updated successfully, but these errors were encountered: