npolar / api.npolar.no

Searchable data storage
https://api.npolar.no
4 stars 0 forks source link

Service middleware neeeds to be migrated to array of objects #53

Open baelter opened 9 years ago

baelter commented 9 years ago

"middleware" in service schema mixes array types, elasticsearch can't map this, causing exception and the doc is not indexed at all.

Fix is to reimplement "middleware" parsing of schema to use a "typed" array.