|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Groupable
Groupable results can be grouped by property or by document. A groupable result should implement this interface. This interface allows for common merge code. It is not used outside of merge
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |