-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to pass document id to More Like This #24
Comments
@mereghost, can you have a look at it? https://github.com/karmi/tire-contrib/blob/master/lib/tire/queries/more_like_this.rb |
Correct me if i'm wrong https://github.com/karmi/tire-contrib/blob/master/lib/tire/queries/more_like_this.rb is doing http://www.elasticsearch.org/guide/reference/query-dsl/mlt-query/ It looks like http://www.elasticsearch.org/guide/reference/api/more-like-this/ uses a direct API call but underneath, it's calling the mlt-query. Wonder if there's any way we can accomplish the same behavior using the existing search query, or we'll have to implement a direct API call. I might find some time to draft one out maybe. |
@tmlee The "more like this document" API is indeed a bit different. You should achieve the same with |
Oh, crap I just saw that. =/ I intend to implement that as I need it on a project, but schedule is a bit... tight right now. I'll see if I can dedicate some time for this. |
@mereghost No worries .) |
Per: http://www.elasticsearch.org/guide/reference/api/more-like-this/
The text was updated successfully, but these errors were encountered: