org.ow2.weblab.services.solr.analyser
Class SpellSuggestion

java.lang.Object
  extended by org.ow2.weblab.services.solr.analyser.SpellSuggestion
All Implemented Interfaces:
org.ow2.weblab.core.services.Analyser

public class SpellSuggestion
extends java.lang.Object
implements org.ow2.weblab.core.services.Analyser


Field Summary
static java.lang.String BEAN_NAME
           
 
Constructor Summary
SpellSuggestion()
           
 
Method Summary
 void destroy()
           
 org.ow2.weblab.core.model.ResultSet doSpellSuggest(java.lang.String usageContext, org.ow2.weblab.core.model.ResultSet set)
           
 int getNbSuggestion()
           
 java.lang.String getSolrURL()
           
 void init()
           
 boolean isNoCore()
           
 org.ow2.weblab.core.services.analyser.ProcessReturn process(org.ow2.weblab.core.services.analyser.ProcessArgs args)
           
 void setNbSuggestion(int nbSuggestion)
           
 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
 

Field Detail

BEAN_NAME

public static final java.lang.String BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

SpellSuggestion

public SpellSuggestion()
Method Detail

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

doSpellSuggest

public org.ow2.weblab.core.model.ResultSet doSpellSuggest(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)

getNbSuggestion

public int getNbSuggestion()

setNbSuggestion

public void setNbSuggestion(int nbSuggestion)

isNoCore

public boolean isNoCore()

setNoCore

public void setNoCore(boolean noCore)


Copyright © 2004-2012. All Rights Reserved.