public class AttributeConfigurationModel extends AbstractLuceneItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
AVAILABLEINDEXABLEATTRIBUTES
Generated constant - Attribute key of
AttributeConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch. |
static String |
EXACT
Generated constant - Attribute key of
AttributeConfiguration.exact attribute defined at extension lucenesearch. |
static String |
FIELDNAME
Generated constant - Attribute key of
AttributeConfiguration.fieldName attribute defined at extension lucenesearch. |
static String |
INDEXCONFIGURATION
Generated constant - Attribute key of
AttributeConfiguration.indexConfiguration attribute defined at extension lucenesearch. |
static String |
INDEXEDATTRIBUTE
Generated constant - Attribute key of
AttributeConfiguration.indexedAttribute attribute defined at extension lucenesearch. |
static String |
STOREDATA
Generated constant - Attribute key of
AttributeConfiguration.storeData attribute defined at extension lucenesearch. |
static String |
WEIGHT
Generated constant - Attribute key of
AttributeConfiguration.weight attribute defined at extension lucenesearch. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AttributeConfigurationModel()
Generated constructor - Default constructor for generic creation.
|
AttributeConfigurationModel(IndexConfigurationModel _indexConfiguration,
AttributeDescriptorModel _indexedAttribute)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AttributeConfigurationModel(IndexConfigurationModel _indexConfiguration,
AttributeDescriptorModel _indexedAttribute,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AttributeConfigurationModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<AttributeDescriptorModel> |
getAvailableIndexableAttributes()
Generated method - Getter of the
AttributeConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch. |
Boolean |
getExact()
Generated method - Getter of the
AttributeConfiguration.exact attribute defined at extension lucenesearch. |
String |
getFieldName()
Generated method - Getter of the
AttributeConfiguration.fieldName attribute defined at extension lucenesearch. |
IndexConfigurationModel |
getIndexConfiguration()
Generated method - Getter of the
AttributeConfiguration.indexConfiguration attribute defined at extension lucenesearch. |
AttributeDescriptorModel |
getIndexedAttribute()
Generated method - Getter of the
AttributeConfiguration.indexedAttribute attribute defined at extension lucenesearch. |
Boolean |
getStoreData()
Generated method - Getter of the
AttributeConfiguration.storeData attribute defined at extension lucenesearch. |
Double |
getWeight()
Generated method - Getter of the
AttributeConfiguration.weight attribute defined at extension lucenesearch. |
void |
setExact(Boolean value)
Generated method - Setter of
AttributeConfiguration.exact attribute defined at extension lucenesearch. |
void |
setFieldName(String value)
Generated method - Setter of
AttributeConfiguration.fieldName attribute defined at extension lucenesearch. |
void |
setIndexConfiguration(IndexConfigurationModel value)
Generated method - Initial setter of
AttributeConfiguration.indexConfiguration attribute defined at extension lucenesearch. |
void |
setIndexedAttribute(AttributeDescriptorModel value)
Generated method - Setter of
AttributeConfiguration.indexedAttribute attribute defined at extension lucenesearch. |
void |
setStoreData(Boolean value)
Generated method - Setter of
AttributeConfiguration.storeData attribute defined at extension lucenesearch. |
void |
setWeight(Double value)
Generated method - Setter of
AttributeConfiguration.weight attribute defined at extension lucenesearch. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String AVAILABLEINDEXABLEATTRIBUTES
AttributeConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch.public static final String EXACT
AttributeConfiguration.exact attribute defined at extension lucenesearch.public static final String FIELDNAME
AttributeConfiguration.fieldName attribute defined at extension lucenesearch.public static final String INDEXCONFIGURATION
AttributeConfiguration.indexConfiguration attribute defined at extension lucenesearch.public static final String INDEXEDATTRIBUTE
AttributeConfiguration.indexedAttribute attribute defined at extension lucenesearch.public static final String STOREDATA
AttributeConfiguration.storeData attribute defined at extension lucenesearch.public static final String WEIGHT
AttributeConfiguration.weight attribute defined at extension lucenesearch.public AttributeConfigurationModel()
public AttributeConfigurationModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AttributeConfigurationModel(IndexConfigurationModel _indexConfiguration, AttributeDescriptorModel _indexedAttribute)
_indexConfiguration - initial attribute declared by type AttributeConfiguration at extension lucenesearch_indexedAttribute - initial attribute declared by type AttributeConfiguration at extension lucenesearch@Deprecated public AttributeConfigurationModel(IndexConfigurationModel _indexConfiguration, AttributeDescriptorModel _indexedAttribute, ItemModel _owner)
_indexConfiguration - initial attribute declared by type AttributeConfiguration at extension lucenesearch_indexedAttribute - initial attribute declared by type AttributeConfiguration at extension lucenesearch_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="availableIndexableAttributes", type=GETTER) public Collection<AttributeDescriptorModel> getAvailableIndexableAttributes()
AttributeConfiguration.availableIndexableAttributes attribute defined at extension lucenesearch.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="exact", type=GETTER) public Boolean getExact()
AttributeConfiguration.exact attribute defined at extension lucenesearch.@Accessor(qualifier="fieldName", type=GETTER) public String getFieldName()
AttributeConfiguration.fieldName attribute defined at extension lucenesearch.@Accessor(qualifier="indexConfiguration", type=GETTER) public IndexConfigurationModel getIndexConfiguration()
AttributeConfiguration.indexConfiguration attribute defined at extension lucenesearch.@Accessor(qualifier="indexedAttribute", type=GETTER) public AttributeDescriptorModel getIndexedAttribute()
AttributeConfiguration.indexedAttribute attribute defined at extension lucenesearch.@Accessor(qualifier="storeData", type=GETTER) public Boolean getStoreData()
AttributeConfiguration.storeData attribute defined at extension lucenesearch.@Accessor(qualifier="weight", type=GETTER) public Double getWeight()
AttributeConfiguration.weight attribute defined at extension lucenesearch.@Accessor(qualifier="exact", type=SETTER) public void setExact(Boolean value)
AttributeConfiguration.exact attribute defined at extension lucenesearch.value - the exact - Indicates whether this attribute text must be indexed
exactly (for example, without any stemming
mechanism), such as codes or identification
numbers. Defaults to Boolean.FALSE.@Accessor(qualifier="fieldName", type=SETTER) public void setFieldName(String value)
AttributeConfiguration.fieldName attribute defined at extension lucenesearch.value - the fieldName - Field name within the lucene index where the
attribute will be stored.@Accessor(qualifier="indexConfiguration", type=SETTER) public void setIndexConfiguration(IndexConfigurationModel value)
AttributeConfiguration.indexConfiguration attribute defined at extension lucenesearch. Can only be used at creation of model - before first save.value - the indexConfiguration - The IndexConfiguration to which this
configuration belongs.@Accessor(qualifier="indexedAttribute", type=SETTER) public void setIndexedAttribute(AttributeDescriptorModel value)
AttributeConfiguration.indexedAttribute attribute defined at extension lucenesearch.value - the indexedAttribute - Gets the attribute definition this configuration
represents. Is limited to the values of the
availableIndexableAttributes attribute.@Accessor(qualifier="storeData", type=SETTER) public void setStoreData(Boolean value)
AttributeConfiguration.storeData attribute defined at extension lucenesearch.value - the storeData - Specifies whether the original text has to be stored
inside the lucene index as well. Defaults to
Boolean.TRUE.@Accessor(qualifier="weight", type=SETTER) public void setWeight(Double value)
AttributeConfiguration.weight attribute defined at extension lucenesearch.value - the weight - The weighting of the attribute within the Lucene
index. Must be greater than 0. Defaults to new
Double(1.0).Copyright © 2017 SAP SE. All Rights Reserved.