|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.mapping.internal.DefaultAllMapping
public class DefaultAllMapping
A set of settings configuring the all mapping.
| Constructor Summary | |
|---|---|
DefaultAllMapping()
|
|
| Method Summary | |
|---|---|
AllMapping |
copy()
Returns a copy of the All mapping settings. |
String |
getProperty()
Returns the name of the all property for the given resoruce. |
SpellCheckType |
getSpellCheck()
|
Property.TermVector |
getTermVector()
Returns the term vector configuration for the given all proeprty. |
Boolean |
isExcludeAlias()
Should the alias be excluded from the "all" property. |
Boolean |
isIncludePropertiesWithNoMappings()
Returns true if when adding the different Resource properties,
properties with no mappings will be added to the "all" property. |
Boolean |
isOmitNorms()
Expert: If set, omit normalization factors associated with this indexed field. |
Boolean |
isOmitTf()
|
Boolean |
isSupported()
Returns true if the "all" property will be created for the resource. |
void |
setExcludeAlias(Boolean excludeAlias)
|
void |
setIncludePropertiesWithNoMappings(Boolean includePropertiesWithNoMappings)
|
void |
setOmitNorms(Boolean omitNorms)
|
void |
setOmitTf(Boolean omitTf)
|
void |
setProperty(String property)
|
void |
setSpellCheck(SpellCheckType spellCheck)
|
void |
setSupported(Boolean supported)
|
void |
setTermVector(Property.TermVector termVector)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAllMapping()
| Method Detail |
|---|
public AllMapping copy()
AllMapping
copy in interface AllMappingpublic Boolean isSupported()
AllMappingtrue if the "all" property will be created for the resource. The
all property is a special property that have all the other resource values in it to be
searchable.
isSupported in interface AllMappingpublic void setSupported(Boolean supported)
setSupported in interface InternalAllMappingpublic Boolean isExcludeAlias()
AllMappingfalse.
isExcludeAlias in interface AllMappingpublic void setExcludeAlias(Boolean excludeAlias)
setExcludeAlias in interface InternalAllMappingpublic String getProperty()
AllMapping
getProperty in interface AllMappingpublic void setProperty(String property)
setProperty in interface InternalAllMappingpublic Property.TermVector getTermVector()
AllMapping
getTermVector in interface AllMappingpublic void setTermVector(Property.TermVector termVector)
setTermVector in interface InternalAllMappingpublic Boolean isOmitNorms()
AllMapping
isOmitNorms in interface AllMappingpublic void setOmitNorms(Boolean omitNorms)
setOmitNorms in interface InternalAllMappingpublic Boolean isOmitTf()
isOmitTf in interface AllMappingpublic void setOmitTf(Boolean omitTf)
setOmitTf in interface InternalAllMappingpublic Boolean isIncludePropertiesWithNoMappings()
AllMappingtrue if when adding the different Resource properties,
properties with no mappings will be added to the "all" property. A resoruce can have property with no
mappings if it was added programtically to the resource.
isIncludePropertiesWithNoMappings in interface AllMappingpublic void setIncludePropertiesWithNoMappings(Boolean includePropertiesWithNoMappings)
setIncludePropertiesWithNoMappings in interface InternalAllMappingpublic SpellCheckType getSpellCheck()
getSpellCheck in interface AllMappingpublic void setSpellCheck(SpellCheckType spellCheck)
setSpellCheck in interface InternalAllMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||