Package com.yahoo.prelude.searcher
Class JuniperSearcher
java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
com.yahoo.processing.Processor
com.yahoo.search.Searcher
com.yahoo.prelude.searcher.JuniperSearcher
- All Implemented Interfaces:
com.yahoo.component.chain.model.Chainable
,com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
Converts juniper highlighting to XML style
Note: This searcher only converts backend binary highlighting and separators to the configured highlighting and separator tags.
- Author:
- Steinar Knutsen
-
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
ConstructorDescriptionJuniperSearcher
(com.yahoo.component.ComponentId id, com.yahoo.container.QrSearchersConfig config) -
Method Summary
Methods inherited from class com.yahoo.search.Searcher
ensureFilled, getLogger, process, toString
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getDependencies, initDependencies
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.component.chain.model.Chainable
getAnnotatedDependencies
-
Field Details
-
RAW_HIGHLIGHT_CHAR
public static final char RAW_HIGHLIGHT_CHAR- See Also:
-
RAW_SEPARATOR_CHAR
public static final char RAW_SEPARATOR_CHAR- See Also:
-
JUNIPER_TAG_REPLACING
- See Also:
-
-
Constructor Details
-
JuniperSearcher
@Inject public JuniperSearcher(com.yahoo.component.ComponentId id, com.yahoo.container.QrSearchersConfig config)
-
-
Method Details
-
search
Convert Juniper style property highlighting to XML style. -
fill
Description copied from class:Searcher
Fill hit properties with data using the given summary class. Calling this on already filled results has no cost.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.
-