Implement "more like this" #53
Comments
I just realized pyes implements this:
I am not sure if it is worth wrapping that in elasticutils or not. It doesn't seem like it fits well as part of |
So, I agree it's not something we'd want to add to S because it's not a chainable transform--it's a separate sort of thing. However, my big plan is to ditch pyes. So while you could implement this in SUMO directly with pyes, I don't think I want to implement it that way in ElasticUtils. |
@willkg Do you have any ideas on how this should be done in EU? I can do it, but I am not sure what the API should look like. |
(Talked with @rlr directly a few times between then and now.) The new plan is to implement an MLT class that's at the same level as S and takes an S which it uses to derive a bunch of information from. And it'll also take an id and a list of fields. |
Adds a MLT class for making _mlt API calls.
Fixed ^ |
Please? :)
http://www.elasticsearch.org/guide/reference/api/more-like-this.html
The text was updated successfully, but these errors were encountered: