Package | Description |
---|---|
com.yahoo.prelude.templates | |
com.yahoo.search |
The top level classes of the search container. A Query represents the incoming request, which produces a Result
by chained execution of a set of Searchers.
|
com.yahoo.search.grouping.result | |
com.yahoo.search.pagetemplates.result | |
com.yahoo.search.rendering | |
com.yahoo.search.result |
The content of a Result produced in response to a Query.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultTemplateSet.renderGroup(HitGroup hit,
com.yahoo.text.XMLWriter writer)
Deprecated.
Renders a hit group.
|
protected void |
TiledTemplateSet.renderHitGroup(HitGroup hit,
Context context,
com.yahoo.text.XMLWriter writer)
Deprecated.
Overrides
DefaultTemplateSet.renderHitGroup(HitGroup, Context, XMLWriter)
for /result/section and /result/meta hit groups. |
protected void |
DefaultTemplateSet.renderHitGroup(HitGroup hit,
Context context,
com.yahoo.text.XMLWriter writer)
Deprecated.
Opens (but does not close) the group hit tag
|
protected void |
DefaultTemplateSet.renderHitGroupOfTypeGroupHit(Context context,
HitGroup hit,
com.yahoo.text.XMLWriter writer)
Deprecated.
|
protected void |
TiledTemplateSet.renderSection(HitGroup hit,
com.yahoo.text.XMLWriter writer)
Deprecated.
Renders /result/section.
|
protected void |
PageTemplateSet.renderSection(HitGroup hit,
com.yahoo.text.XMLWriter writer)
Deprecated.
|
protected void |
TiledTemplateSet.renderSectionContent(HitGroup hit,
com.yahoo.text.XMLWriter writer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HitGroup |
Result.hits()
Returns the top level hit group containing all the hits of this result
|
Modifier and Type | Method and Description |
---|---|
void |
Result.setHits(HitGroup hits)
Sets the top level hit group containing all the hits of this result
|
Constructor and Description |
---|
Result(Query query,
HitGroup hits)
Create an empty result.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractList |
class |
Group
This class represents a single group in the grouping result model.
|
class |
GroupList
This class represents a labeled group list in the grouping result model.
|
class |
HitList
This class represents a labeled hit list in the grouping result model.
|
class |
RootGroup
This class represents the root
Group in the grouping result model. |
Modifier and Type | Method and Description |
---|---|
static boolean |
HitRenderer.renderHeader(HitGroup hit,
com.yahoo.text.XMLWriter writer)
Renders the header for the given grouping hit.
|
Modifier and Type | Class and Description |
---|---|
class |
SectionHitGroup
A hit group corresponding to a section - contains some additional information
in proper getters and setters which is used during rendering.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SectionedRenderer.beginHitGroup(WRITER writer,
HitGroup hitGroup)
Called when a HitGroup is encountered.
|
abstract void |
SectionedRenderer.endHitGroup(WRITER writer,
HitGroup hitGroup)
Called after all the children of the HitGroup have been provided to methods of this class.
|
Modifier and Type | Method and Description |
---|---|
HitGroup |
HitGroup.clone() |
static HitGroup |
HitGroup.createAsync(String id)
Creates a HitGroup which contains data which arrives in the future.
|
Modifier and Type | Method and Description |
---|---|
void |
HitGroup.copyOrdering(HitGroup hitGroup)
Sets sorting information to be the same as for the provided hitGroup.
|
Constructor and Description |
---|
HitIterator(HitGroup hitGroup,
List<Hit> hits) |
Copyright © 2018. All rights reserved.