public interface Groupable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
atg.search.routing.command.search.InternalAnswerGroup |
createNewAnswerGroup()
Returns a new internal answer group for this result.
|
int |
getAnswerGroup()
Returns the answer group for this result
|
java.lang.String |
getContentId()
Returns the content id of the partition that this result came from
|
Document |
getDocument()
Returns the associated document
|
int |
getOriginalAnswerGroup()
Returns the original answer group, prior to the merge
|
float |
getScore()
Returns the result's score.
|
java.lang.String |
getSortProp()
When the request specified group-by-property, this returns the sort property
|
void |
setAnswerGroup(int pAnswerGroup)
Sets this result's answer group
|
void |
setContentId(java.lang.String pContentId)
Sets the content id of the partition that this result came from
|
void |
setId(int pId)
An optional result id.
|
void |
setScore(float pScore)
Sets the score.
|
static final java.lang.String CLASS_VERSION
atg.search.routing.command.search.InternalAnswerGroup createNewAnswerGroup()
java.lang.String getSortProp()
int getAnswerGroup()
void setAnswerGroup(int pAnswerGroup)
pAnswerGroup
- the answer groupint getOriginalAnswerGroup()
Document getDocument()
void setId(int pId)
pId
- float getScore()
void setScore(float pScore)
pScore
- the scorejava.lang.String getContentId()
void setContentId(java.lang.String pContentId)
pContentId
- the content id of the partition that this result came from