org.ow2.weblab.services.solr.analyser
Class Highlighter
java.lang.Object
org.ow2.weblab.services.solr.analyser.Highlighter
- All Implemented Interfaces:
- org.ow2.weblab.core.services.Analyser
public class Highlighter
- extends java.lang.Object
- implements org.ow2.weblab.core.services.Analyser
|
Field Summary |
static java.lang.String |
BEAN_NAME
|
|
Method Summary |
void |
destroy()
|
java.lang.String |
getSolrURL()
|
org.ow2.weblab.core.model.ResultSet |
highLightHitInResultSet(java.lang.String usageContext,
org.ow2.weblab.core.model.ResultSet set)
|
void |
init()
|
boolean |
isNoCore()
|
org.ow2.weblab.core.services.analyser.ProcessReturn |
process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
|
void |
setNoCore(boolean noCore)
|
void |
setSolrURL(java.lang.String solrURL)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEAN_NAME
public static final java.lang.String BEAN_NAME
- See Also:
- Constant Field Values
Highlighter
public Highlighter()
init
@PostConstruct
public void init()
destroy
@PreDestroy
public void destroy()
process
public org.ow2.weblab.core.services.analyser.ProcessReturn process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
throws org.ow2.weblab.core.services.AccessDeniedException,
org.ow2.weblab.core.services.UnexpectedException,
org.ow2.weblab.core.services.InvalidParameterException,
org.ow2.weblab.core.services.ContentNotAvailableException,
org.ow2.weblab.core.services.InsufficientResourcesException,
org.ow2.weblab.core.services.UnsupportedRequestException,
org.ow2.weblab.core.services.ServiceNotConfiguredException
- Specified by:
process in interface org.ow2.weblab.core.services.Analyser
- Throws:
org.ow2.weblab.core.services.AccessDeniedException
org.ow2.weblab.core.services.UnexpectedException
org.ow2.weblab.core.services.InvalidParameterException
org.ow2.weblab.core.services.ContentNotAvailableException
org.ow2.weblab.core.services.InsufficientResourcesException
org.ow2.weblab.core.services.UnsupportedRequestException
org.ow2.weblab.core.services.ServiceNotConfiguredException
highLightHitInResultSet
public org.ow2.weblab.core.model.ResultSet highLightHitInResultSet(java.lang.String usageContext,
org.ow2.weblab.core.model.ResultSet set)
getSolrURL
public java.lang.String getSolrURL()
setSolrURL
public void setSolrURL(java.lang.String solrURL)
isNoCore
public boolean isNoCore()
setNoCore
public void setNoCore(boolean noCore)
Copyright © 2004-2012. All Rights Reserved.