bitemyapp / bloodhound

Haskell Elasticsearch client and query DSL
bitemyapp.com
BSD 3-Clause "New" or "Revised" License
424 stars 118 forks source link

Is it possible to consider using bloodhound for Elasticsearch v6? #228

Closed arnauorriols closed 6 years ago

arnauorriols commented 6 years ago

Before I start playing with it and find out by myself, maybe somebody can already tell me what are the chances of being able to use bloodhound-v5 against ES v6 (I imagine they are close to none)?

andrewthad commented 6 years ago

I’ve been using it with version six for about two months. It works fine. Remember that v6 only allows you to define one mapping per index. That was the biggest breaking change for me.

arnauorriols commented 6 years ago

Great to know. I'll give it a go then.

Thanks.

MichaelXavier commented 6 years ago

I wonder if there's a way without cloning the entire tree to indicate that 6 is compatible via V5.

bitemyapp commented 6 years ago

@MichaelXavier mkdir -p Database/V6/, add a Database.V6.Bloodhound module that re-exports V5?