|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.search.sort.SortBuilder org.elasticsearch.search.sort.ScoreSortBuilder
public class ScoreSortBuilder
A sort builder allowing to sort by score.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
ScoreSortBuilder()
|
Method Summary | |
---|---|
SortBuilder |
missing(java.lang.Object missing)
Sets the value when a field is missing in a doc. |
ScoreSortBuilder |
order(SortOrder order)
The order of sort scoring. |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScoreSortBuilder()
Method Detail |
---|
public ScoreSortBuilder order(SortOrder order)
SortOrder.DESC
.
order
in class SortBuilder
public SortBuilder missing(java.lang.Object missing)
SortBuilder
missing
in class SortBuilder
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |