class HitConverter extends Object implements ResultBuilder.HitConverter
ResultBuilder.HitConverter
interface for GroupingExecutor
.Modifier and Type | Field and Description |
---|---|
private Query |
query |
private Searcher |
searcher |
Constructor and Description |
---|
HitConverter(Searcher searcher,
Query query)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
private Hit |
convertFs4Hit(String summaryClass,
com.yahoo.searchlib.aggregation.FS4Hit groupHit) |
private Hit |
convertVdsHit(String summaryClass,
com.yahoo.searchlib.aggregation.VdsHit grpHit) |
Hit |
toSearchHit(String summaryClass,
com.yahoo.searchlib.aggregation.Hit hit) |
public Hit toSearchHit(String summaryClass, com.yahoo.searchlib.aggregation.Hit hit)
toSearchHit
in interface ResultBuilder.HitConverter
private Hit convertFs4Hit(String summaryClass, com.yahoo.searchlib.aggregation.FS4Hit groupHit)
Copyright © 2017. All rights reserved.