| Package | Description |
|---|---|
| org.opencms.search.fields |
These classes control the mapping of the OpenCms content to the Lucene search fields.
|
| Modifier and Type | Field and Description |
|---|---|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.ATTRIBUTE
The "dynamic" mapping type, this is required if a special class is used to process the field mapping value.
|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.CONTENT
The "content" mapping type, maps the content of the resource (no parameters required).
|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.DYNAMIC
The "dynamic" mapping type, this is required if a special class is used to process the field mapping value.
|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.ITEM
The "item" mapping type, maps the selected content item of the content.
|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.PROPERTY
The "property" mapping type, maps the selected property value of the resource.
|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.PROPERTY_SEARCH
The "property-search" mapping type, maps the selected property value of the resource with search upwards.
|
| Modifier and Type | Method and Description |
|---|---|
CmsSearchFieldMappingType |
CmsSearchFieldMapping.getType() |
CmsSearchFieldMappingType |
I_CmsSearchFieldMapping.getType()
Returns the mapping type.
|
static CmsSearchFieldMappingType |
CmsSearchFieldMappingType.valueOf(java.lang.String value)
Returns the matching field mapping type, or
null if the given value is
not a valid mapping type name. |
| Modifier and Type | Method and Description |
|---|---|
void |
CmsSearchFieldMapping.setType(CmsSearchFieldMappingType type) |
void |
I_CmsSearchFieldMapping.setType(CmsSearchFieldMappingType type)
Sets the mapping type.
|
| Constructor and Description |
|---|
CmsSearchFieldMapping(CmsSearchFieldMappingType type,
java.lang.String param)
Public constructor for a new search field mapping.
|
CmsSearchFieldMapping(CmsSearchFieldMappingType type,
java.lang.String param,
boolean isLucene)
Public constructor for a new search field mapping.
|