org.compass.core.mapping.xsem
Class XmlBoostPropertyMapping

java.lang.Object
  extended by org.compass.core.mapping.support.AbstractMapping
      extended by org.compass.core.mapping.support.AbstractResourcePropertyMapping
          extended by org.compass.core.mapping.xsem.XmlPropertyMapping
              extended by org.compass.core.mapping.xsem.XmlBoostPropertyMapping
All Implemented Interfaces:
BoostPropertyMapping, InternalMapping, InternalOverrideByNameMapping, InternalResourcePropertyMapping, Mapping, OverrideByNameMapping, ResourcePropertyMapping, XPathEnabledMapping

public class XmlBoostPropertyMapping
extends XmlPropertyMapping
implements BoostPropertyMapping

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.compass.core.mapping.ResourcePropertyMapping
ResourcePropertyMapping.ExcludeFromAllType, ResourcePropertyMapping.ReverseType
 
Constructor Summary
XmlBoostPropertyMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 String getBoostResourcePropertyName()
           
 float getDefaultBoost()
           
 Property.Index getIndex()
           
 Property.Store getStore()
           
 Property.TermVector getTermVector()
           
 Boolean isOmitNorms()
          Should the reosurce property omit norms or not.
 Boolean isOmitTf()
          Expert: If set, omit tf from postings of this indexed field.
 void setDefaultBoost(float defaultBoost)
           
 
Methods inherited from class org.compass.core.mapping.xsem.XmlPropertyMapping
copy, getFormat, getResourcePropertyConverter, getValueConverter, getValueConverterName, getXPath, getXPathExpression, isOverrideByName, setFormat, setOverrideByName, setValueConverter, setValueConverterName, setXPath, setXPathExpression
 
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 org.compass.core.mapping.support.AbstractMapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.mapping.ResourcePropertyMapping
getAnalyzer, getBoost, getExcludeFromAll, getNullValue, getOriginalName, getReverse, getRootAlias, getSpellCheck, hasNullValue, isInternal
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 
Methods inherited from interface org.compass.core.mapping.internal.InternalMapping
setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 

Constructor Detail

XmlBoostPropertyMapping

public XmlBoostPropertyMapping()
Method Detail

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 XmlPropertyMapping

getBoostResourcePropertyName

public String getBoostResourcePropertyName()
Specified by:
getBoostResourcePropertyName in interface BoostPropertyMapping

getDefaultBoost

public float getDefaultBoost()
Specified by:
getDefaultBoost in interface BoostPropertyMapping

setDefaultBoost

public void setDefaultBoost(float defaultBoost)

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)


Copyright (c) 2004-2008 The Compass Project.