otto-de / flummi

Flummi Elastic Search HTTP REST Client
https://github.com/otto-de/flummi
Apache License 2.0
56 stars 28 forks source link

Add _analyze API handling. #15

Closed zarucki closed 7 years ago

zarucki commented 7 years ago

I needed the _analyze API, so I went ahead and implemented it. We use the API to extensively test if things are stored and searched properly.

Almost all cases from here are implemented. I only skipped case with text as array: { "text" : ["this is a test", "the second text"] }

I tried to blend my code style as much as possible to surrounding code.

micharegel commented 7 years ago

hi zaruki, thanks for contributing! now there is version 5.0.27.0 with your analyze api handling.