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

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

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


Field Summary
static java.lang.String BEAN_NAME
           
static java.lang.String IDRES_FACET_PREFIX
           
 
Constructor Summary
FacetSuggestion()
           
 
Method Summary
 void destroy()
           
 org.ow2.weblab.core.model.ResultSet doFacetSuggest(java.lang.String usageContext, org.ow2.weblab.core.model.ResultSet set)
           
 java.util.Set<Field> getFacetFields()
           
 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 setFacetFields(java.util.Set<Field> facetFields)
           
 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

IDRES_FACET_PREFIX

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

FacetSuggestion

public FacetSuggestion()
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

doFacetSuggest

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

getFacetFields

public java.util.Set<Field> getFacetFields()

setFacetFields

public void setFacetFields(java.util.Set<Field> facetFields)

isNoCore

public boolean isNoCore()

setNoCore

public void setNoCore(boolean noCore)


Copyright © 2004-2012. All Rights Reserved.