Package org.elasticsearch.search.builder
Class SearchSourceBuilder.IndexBoost
java.lang.Object
org.elasticsearch.search.builder.SearchSourceBuilder.IndexBoost
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
- Enclosing class:
- SearchSourceBuilder
public static class SearchSourceBuilder.IndexBoost extends java.lang.Object implements Writeable, ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)floatgetBoost()java.lang.StringgetIndex()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Method Details
-
getIndex
public java.lang.String getIndex() -
getBoost
public float getBoost() -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-