mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
[SEARCH-1641]
changed score type to float
This commit is contained in:
@@ -34,16 +34,16 @@ public class SearchScoreModel extends TestModel implements IRestModel<SearchScor
|
|||||||
{
|
{
|
||||||
|
|
||||||
@JsonProperty(required = true)
|
@JsonProperty(required = true)
|
||||||
private int score;
|
private float score;
|
||||||
|
|
||||||
private List<ResponseHighLightModel> highlight;
|
private List<ResponseHighLightModel> highlight;
|
||||||
|
|
||||||
public int getScore()
|
public float getScore()
|
||||||
{
|
{
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setScore(int score)
|
public void setScore(float score)
|
||||||
{
|
{
|
||||||
this.score = score;
|
this.score = score;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user