Class MetaField
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.MetaField
-
public class MetaField extends Object
Represents the _meta field on the response document
-
-
Constructor Summary
Constructors Constructor Description MetaField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEngine()The name of the engine this document belongs toStringgetId()The document idBigDecimalgetScore()The calculated relevance score for this documentMetaFieldsetEngine(String engine)The name of the engine this document belongs toMetaFieldsetId(String id)The document idMetaFieldsetScore(BigDecimal score)The calculated relevance score for this document
-
-
-
Method Detail
-
getScore
public BigDecimal getScore()
The calculated relevance score for this document- Returns:
- the score
-
getEngine
public String getEngine()
The name of the engine this document belongs to- Returns:
- the engine name
-
getId
public String getId()
The document id- Returns:
- the document id
-
setScore
public MetaField setScore(BigDecimal score)
The calculated relevance score for this document- Parameters:
score- the score- Returns:
this.
-
setEngine
public MetaField setEngine(String engine)
The name of the engine this document belongs to- Parameters:
engine- the engine name- Returns:
this.
-
-