public interface MoreLikeThisContext extends QueryCustomization<MoreLikeThisContext>
| Modifier and Type | Method and Description |
|---|---|
MoreLikeThisTerminalMatchingContext |
comparingAllFields()
Match the content using "all" of the indexed fields of the entity.
|
MoreLikeThisOpenedMatchingContext |
comparingField(String fieldName)
Match the content using the selected field of the entity.
|
MoreLikeThisOpenedMatchingContext |
comparingFields(String... fieldNames)
Match the content using the selected fields of the entity.
|
MoreLikeThisContext |
excludeEntityUsedForComparison()
Exclude the entity used for comparison from the results
|
MoreLikeThisContext |
favorSignificantTermsWithFactor(float factor)
Boost significant terms relative to their scores.
|
boostedTo, filteredBy, withConstantScoreMoreLikeThisContext excludeEntityUsedForComparison()
MoreLikeThisContext favorSignificantTermsWithFactor(float factor)
MoreLikeThisTerminalMatchingContext comparingAllFields()
MoreLikeThisOpenedMatchingContext comparingFields(String... fieldNames)
MoreLikeThisOpenedMatchingContext comparingField(String fieldName)
Copyright © 2006–2014 Hibernate. All rights reserved.