org.compass.core.mapping.rsem
Class RawResourcePropertyAnalyzerController
java.lang.Object
org.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.support.AbstractResourcePropertyMapping
org.compass.core.mapping.rsem.RawResourcePropertyMapping
org.compass.core.mapping.rsem.RawResourcePropertyAnalyzerController
- All Implemented Interfaces:
- InternalMapping, InternalOverrideByNameMapping, InternalResourcePropertyMapping, Mapping, OverrideByNameMapping, ResourceAnalyzerController, ResourcePropertyMapping
public class RawResourcePropertyAnalyzerController
- extends RawResourcePropertyMapping
- implements ResourceAnalyzerController
- Author:
- kimchy
| Methods inherited from class org.compass.core.mapping.support.AbstractResourcePropertyMapping |
copy, getAnalyzer, getBoost, getExcludeFromAll, getNullValue, getOriginalName, getReverse, getRootAlias, getSpellCheck, hasNullValue, isInternal, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setName, setNullValue, setOmitNorms, setOmitTf, setReverse, setRootAlias, setSpellCheck, setStore, setTermVector |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawResourcePropertyAnalyzerController
public RawResourcePropertyAnalyzerController()
copy
public Mapping copy()
- Description copied from interface:
Mapping
- Copies over the mapping definition into a newly instanciated Mapping object.
- Specified by:
copy in interface Mapping- Overrides:
copy in class RawResourcePropertyMapping
getAnalyzerResourcePropertyName
public String getAnalyzerResourcePropertyName()
- Description copied from interface:
ResourceAnalyzerController
- Returns the name of the
Resource
Property which value will control
the analyzer to be used for the resource.
- Specified by:
getAnalyzerResourcePropertyName in interface ResourceAnalyzerController
getIndex
public Property.Index getIndex()
- Specified by:
getIndex in interface ResourcePropertyMapping- Overrides:
getIndex in class AbstractResourcePropertyMapping
getStore
public Property.Store getStore()
- Specified by:
getStore in interface ResourcePropertyMapping- Overrides:
getStore in class AbstractResourcePropertyMapping
getTermVector
public Property.TermVector getTermVector()
- Specified by:
getTermVector in interface ResourcePropertyMapping- Overrides:
getTermVector in class AbstractResourcePropertyMapping
isOmitNorms
public Boolean isOmitNorms()
- Description copied from interface:
ResourcePropertyMapping
- Should the reosurce property omit norms or not.
- Specified by:
isOmitNorms in interface ResourcePropertyMapping- Overrides:
isOmitNorms in class AbstractResourcePropertyMapping
- See Also:
Property.setOmitNorms(boolean)
isOmitTf
public Boolean isOmitTf()
- Description copied from interface:
ResourcePropertyMapping
- Expert:
If set, omit tf from postings of this indexed field.
- Specified by:
isOmitTf in interface ResourcePropertyMapping- Overrides:
isOmitTf in class AbstractResourcePropertyMapping
- See Also:
Property.setOmitTf(boolean)
getNullAnalyzer
public String getNullAnalyzer()
- Description copied from interface:
ResourceAnalyzerController
- Returns the name of the analyzer to be used in case the
Resource
Property value is null.
- Specified by:
getNullAnalyzer in interface ResourceAnalyzerController
setNullAnalyzer
public void setNullAnalyzer(String nullAnalyzer)
hasNullAnalyzer
public boolean hasNullAnalyzer()
- Description copied from interface:
ResourceAnalyzerController
- Returns
true if the controller has a null analyzer configured.
- Specified by:
hasNullAnalyzer in interface ResourceAnalyzerController
Copyright (c) 2004-2008 The Compass Project.