QuesmaOrg / quesma

Programmable database gateway
https://quesma.com
Other
108 stars 6 forks source link

Add compatibility with Kibana 7 #994

Closed mieciu closed 4 days ago

mieciu commented 1 week ago

At this moment we support Kibana 8.x and OSD.

In Kibana 7, users won't be able to create Index Pattern because, as it turned out, Quesma response to _field_caps request does not have the expected Content-Type header.

This is the screen after Index Pattern creation which in fact failed under the hood:

image

Whenever we'll try using that in "Discover" we'll end up with even more errors:

image

At first I've thought that there were some breaking changes in the _field_caps endpoint in Elasticsearch 8. Well, the response is indeed different, but as most of the changes were additive it looks like we can get away with 8-style response returned to Kibana 7 (🍾!).