org.ow2.weblab.services.searcher.impl
Class SolrSearcherConfig

java.lang.Object
  extended by org.ow2.weblab.util.search.SearcherConfig
      extended by org.ow2.weblab.services.searcher.impl.SolrSearcherConfig

public class SolrSearcherConfig
extends SearcherConfig


Field Summary
static java.lang.String DEFAULT_CONF_FILE
          default name for configuration file
static java.lang.String DEFAULT_IDREF
          Default id reference
static java.lang.String DEFAULT_IDRES
          Default id result
protected  java.util.Map<java.lang.String,Field> fieldsToRetrieve
          List of fields to retrieve in POK if hit enrichment is activated
protected  boolean hitsEnrichedWithMetas
          Indicate if hits are enriched with meta presents in index
protected  java.util.Map<java.lang.String,java.lang.String> resultSetLabels
          Map of ResultSet labels, key corresponding local and value the label for this local
 
Fields inherited from class org.ow2.weblab.util.search.SearcherConfig
DEFAULT_BEAN_NAME, DEFAULT_IDFACET, DEFAULT_IDFACETVALUE, DEFAULT_IDHIT, DEFAULT_IDPOK, DESCRIPTION_KEY, facetClass, facetCountClass, facetFields, facetFilterQueryClass, facetLimitNumber, facetMinCount, facetValueClass, HAS_RANK_KEY, hitClass, IN_RESULT_SET_KEY, isLinkedToFacetClass, isLinkedToQueryClass, ISO_8601_DATE_FORMAT, LINKED_TO_KEY, NB_RESULTS_KEY, nsPrefixProperties, OFFSET_KEY, PRODUCED_FROM_KEY, properties, RESULTS_FROM_KEY, SCORE_KEY, SUMMARY_KEY
 
Constructor Summary
SolrSearcherConfig()
           
 
Method Summary
 java.util.Map<java.lang.String,Field> getFieldsToRetrieve()
           
 java.util.Map<java.lang.String,java.lang.String> getResultSetLabels()
           
 boolean isHitsEnrichedWithMetas()
           
 void setFieldsToRetrieve(java.util.Map<java.lang.String,Field> fieldsToRetrieve)
           
 void setHitsEnrichedWithMetas(boolean hitsEnrichedWithMetas)
           
 void setResultSetLabels(java.util.Map<java.lang.String,java.lang.String> resultSetLabels)
           
 
Methods inherited from class org.ow2.weblab.util.search.SearcherConfig
getFacetClass, getFacetCountClass, getFacetFields, getFacetFilterQueryClass, getFacetLimitNumber, getFacetMinCount, getFacetValueClass, getHitClass, getIsLinkedToFacetClass, getIsLinkedToQueryClass, getNsPrefixProperties, getProperties, setFacetClass, setFacetCountClass, setFacetFields, setFacetFilterQueryClass, setFacetLimitNumber, setFacetMinCount, setFacetValueClass, setHitClass, setIsLinkedToFacetClass, setIsLinkedToQueryClass, setNsPrefixProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_IDREF

public static final java.lang.String DEFAULT_IDREF
Default id reference

See Also:
Constant Field Values

DEFAULT_IDRES

public static final java.lang.String DEFAULT_IDRES
Default id result

See Also:
Constant Field Values

DEFAULT_CONF_FILE

public static final java.lang.String DEFAULT_CONF_FILE
default name for configuration file

See Also:
Constant Field Values

hitsEnrichedWithMetas

protected boolean hitsEnrichedWithMetas
Indicate if hits are enriched with meta presents in index


resultSetLabels

protected java.util.Map<java.lang.String,java.lang.String> resultSetLabels
Map of ResultSet labels, key corresponding local and value the label for this local


fieldsToRetrieve

protected java.util.Map<java.lang.String,Field> fieldsToRetrieve
List of fields to retrieve in POK if hit enrichment is activated

Constructor Detail

SolrSearcherConfig

public SolrSearcherConfig()
Method Detail

getResultSetLabels

public java.util.Map<java.lang.String,java.lang.String> getResultSetLabels()
Returns:
the resultSetLabels

setResultSetLabels

public void setResultSetLabels(java.util.Map<java.lang.String,java.lang.String> resultSetLabels)
Parameters:
resultSetLabels - the resultSetLabels to set

isHitsEnrichedWithMetas

public boolean isHitsEnrichedWithMetas()
Returns:
the hitsEnrichedWithMetas

setHitsEnrichedWithMetas

public void setHitsEnrichedWithMetas(boolean hitsEnrichedWithMetas)
Parameters:
hitsEnrichedWithMetas - the hitsEnrichedWithMetas to set

getFieldsToRetrieve

public java.util.Map<java.lang.String,Field> getFieldsToRetrieve()
Returns:
the fieldsToRetrieve

setFieldsToRetrieve

public void setFieldsToRetrieve(java.util.Map<java.lang.String,Field> fieldsToRetrieve)
Parameters:
fieldsToRetrieve - the fieldsToRetrieve to set


Copyright © 2004-2012. All Rights Reserved.