More Like This Query (mlt)

edit

More Like This Query (mlt)

edit

See: * More Like This Query

// mlt Query
QueryBuilder qb = moreLikeThisQuery("name.first", "name.last")  
    .likeText("text like this one")                             
    .minTermFreq(1)                                             
    .maxQueryTerms(12);                                         

fields

text

ignore threshold

max num of Terms in generated queries