schema icon indicating copy to clipboard operation
schema copied to clipboard

add 'trim' to the 'peliasKeywordNormalizer' filters

Open missinglink opened this issue 5 years ago • 1 comments

This PR is based on https://github.com/pelias/schema/pull/415. view diff

A nice-to-have but not a biggie, this PR ensures that normalized keyword fields are whitespace trimmed.

AFAIK to the trim filter not being supported in a normalizer from Lucene 7.3 (Elastic v6.4) so I suspect the tests will fail for ES5

missinglink avatar Dec 13 '19 15:12 missinglink

I think Travis agrees :smile:

Joxit avatar Dec 13 '19 17:12 Joxit