public class JuniperSearcher extends Searcher
Note: This searcher only converts backend binary highlighting and separators to the configured highlighting and separator tags.
Modifier and Type | Field and Description |
---|---|
static String |
JUNIPER_TAG_REPLACING |
static char |
RAW_HIGHLIGHT_CHAR |
static char |
RAW_SEPARATOR_CHAR |
Constructor and Description |
---|
JuniperSearcher(com.yahoo.component.ComponentId id,
com.yahoo.container.QrSearchersConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
fill(Result result,
String summaryClass,
Execution execution)
Fill hit properties with data using the given summary class.
|
Result |
search(Query query,
Execution execution)
Convert Juniper style property highlighting to XML style.
|
ensureFilled, getLogger, process, toString
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
public static final char RAW_HIGHLIGHT_CHAR
public static final char RAW_SEPARATOR_CHAR
public static final String JUNIPER_TAG_REPLACING
@Inject public JuniperSearcher(com.yahoo.component.ComponentId id, com.yahoo.container.QrSearchersConfig config)
public Result search(Query query, Execution execution)
public void fill(Result result, String summaryClass, Execution execution)
Searcher
This needs to be overridden by federating searchers to contact search sources again by propagating the fill call down through the search chain, and by source searchers which talks to fill capable backends to request the data to be filled. Other searchers do not need to override this.
Copyright © 2018. All rights reserved.