public class RankedResultElement extends Object
| Constructor and Description |
|---|
RankedResultElement(String id,
float rank)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The id
|
String |
getIndexName()
Retrieves the index name
|
float |
getRank()
Retrieves the rank
|
void |
setId(String id)
Sets the id
|
void |
setIndexName(String indexName)
Sets the index name
|
void |
setRank(float rank)
Sets the rank
|
public RankedResultElement(String id, float rank)
id - The idrank - The rankpublic String getId()
public void setId(String id)
id - The idpublic float getRank()
public void setRank(float rank)
rank - the rankpublic void setIndexName(String indexName)
indexName - The index namepublic String getIndexName()
Copyright © 2014. All Rights Reserved.