Peter Johnson
Peter Johnson
This PR is based on https://github.com/pelias/schema/pull/415. [view diff](https://github.com/pelias/schema/compare/normalizers...normalizers_es6) A nice-to-have but not a biggie, this PR ensures that normalized keyword fields are whitespace trimmed. AFAIK to the `trim` filter not...
From the Travis logs while testing `elasticsearch@7` support: > future versions of Elasticsearch will require Java 11; your Java version from [/usr/lib/jvm/java-8-oracle/jre] does not meet this requirement
linked to https://github.com/pelias/api/issues/1375 the [icu_normalizer docs](https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-icu-normalization-charfilter.html) say that the default normalization mode is `nfkc_cf`. this is basically `nfkc` with 'code folding' too, so we could switch to this mode so...
Since we enabled the translation service we don't really need to 'store' admin strings in ES any longer. We still need to 'index' the values so they can be used...
names such as `51 Friedrich-Richter-Straße` (address-osmnode-2967205513) should be searchable using the tokens `['friedrich','richter','strasse']` as well as `['friedrichrichterstrasse']` and `['friedrich-richter-strasse']`
It just occurred to me that this repo doesn't have much documentation about how the mappings work. Would be good to update the readme/wiki to (at least) give some information...
This PR adds one new field called `address_parts.street.ngram` It takes advantage of the `fields` mapping to generate ngrams for street names. The ngram field is tokenized using a new tokenizers...
WIP, I found this on my HDD and didn't want to lose it. It's an experimental attempt at transliterating Hebrew based off a bug report. If I recall correctly it...
it's common for users speaking germanic languages to expand `ö` to `oe`, especially when stuck using an English keyboard. an example of this is `Löhningen` which we can currently surface...
for some reason code in this repo doesn't seem to conform to our usual jslint config. just noticed this code: ``` if( isForced() ) drop(); else prompt( drop, fail );...