public class SimpleRelatedPostsFinder extends Object implements RelatedPostsFinder, ConfigAware
CosineSimilarityRelatedPostsFinder| Constructor and Description |
|---|
SimpleRelatedPostsFinder() |
| Modifier and Type | Method and Description |
|---|---|
List<Post> |
findRelatedPosts(Post post) |
List<Post> |
findRelatedPosts(Post post,
int size) |
void |
setConfig(Config config) |
public void setConfig(Config config)
setConfig in interface ConfigAwarepublic List<Post> findRelatedPosts(Post post)
findRelatedPosts in interface RelatedPostsFinderpublic List<Post> findRelatedPosts(Post post, int size)
findRelatedPosts in interface RelatedPostsFinderCopyright © 2014-2015 Opoo.org. All Rights Reserved.