Provide a "More Like This" feature to find similar entities
Description
is duplicated by
is followed up by
relates to
Activity

Sanne GrinoveroMarch 4, 2014 at 1:11 PM
To implement those methods, the proposed API was removed in f337ac7 (just revert it).
Emmanuel BernardMarch 4, 2014 at 1:08 PM
About toContent
/**
- * Find entities looking like the content provided.
- * Only the selected fields will be used for comparison.
- * Selected fields must have a field bridge compatible with
- * the provided content.
- */
- //TODO should we support it? What's the use case
- MoreLikeThisTermination toContent(Reader reader);
-
- /**
- * Find entities looking like the content provided.
- * Only the selected fields will be used for comparison.
- * Selected fields must have a field bridge compatible with
- * the provided content.
- */
- //TODO should we support it? What's the use case
- MoreLikeThisTermination toContent(String data);
Emmanuel BernardMarch 4, 2014 at 1:07 PM
About bullet 1.
//TODO should we keep it
- // if yes it should contain the list of specific options
// a class hierarchy of MoreLikeThisContext < {MorelikeThisBeginningContext|MoreLikeThisFavorFieldSimilarityContext|MoreLikeThisFavorOverallSimilarityContext}
- // *beginning would have favorPerFieldSimilarity and favorOverallSimilarity
- // favorFieldSimilarity would have DisMax specific settings and can carry on to the field selection
- // favorOverallimilarity would have Boolean specific settings and can carry on to the field selection
- MoreLikeThisContext favorPerFieldSimilarity();
Details
Assignee
Emmanuel BernardEmmanuel BernardReporter
Sanne GrinoveroSanne GrinoveroComponents
Fix versions
Priority
Major
Details
Details
Assignee
Reporter

We should expose the "More Like This" feature provided by Lucene in an easy to consume API, probably expressed as a
moreLikeThis( Entity, boosting options)