Interface PropertyMappingIndexedEmbeddedStep
- All Superinterfaces:
PropertyMappingStep
The step in a property-to-indexed-embedded mapping where optional parameters can be set.
-
Method Summary
Modifier and TypeMethodDescriptionexcludePaths
(String... paths) excludePaths
(Collection<String> paths) extractors
(ContainerExtractorPath extractorPath) includeDepth
(Integer depth) includeEmbeddedObjectId
(boolean include) includePaths
(String... paths) includePaths
(Collection<String> paths) Indicates that no container extractors should be applied, not even the default ones.Deprecated.structure
(ObjectStructure structure) targetType
(Class<?> targetType) Methods inherited from interface org.hibernate.search.mapper.pojo.mapping.definition.programmatic.PropertyMappingStep
associationInverseSide, binder, binder, documentId, fullTextField, fullTextField, genericField, genericField, hostingType, indexedEmbedded, indexedEmbedded, indexingDependency, keywordField, keywordField, marker, marker, nonStandardField, nonStandardField, scaledNumberField, scaledNumberField, vectorField, vectorField, vectorField, vectorField
-
Method Details
-
prefix
Deprecated.Pass a field name toPropertyMappingStep.indexedEmbedded(String)
instead. Note that the name passed to that method does not allow dots.- Parameters:
prefix
- The prefix used when embedding.- Returns:
this
, for method chaining.- See Also:
-
includeDepth
- Parameters:
depth
- The number of levels of indexed-embedded that will have all their fields included by default.- Returns:
this
, for method chaining.- See Also:
-
includePaths
- Parameters:
paths
- The paths of index fields to include explicitly.- Returns:
this
, for method chaining.- See Also:
-
includePaths
- Parameters:
paths
- The paths of index fields to include explicitly.- Returns:
this
, for method chaining.- See Also:
-
excludePaths
- Parameters:
paths
- The paths of index fields to exclude.- Returns:
this
, for method chaining.- See Also:
-
excludePaths
- Parameters:
paths
- The paths of index fields to exclude.- Returns:
this
, for method chaining.- See Also:
-
includeEmbeddedObjectId
- Parameters:
include
- Whether the identifier of embedded objects should be included as an index field.- Returns:
this
, for method chaining.- See Also:
-
structure
- Parameters:
structure
- How the structure of the object field created for this indexed-embedded is preserved upon indexing.- Returns:
this
, for method chaining.- See Also:
-
extractor
- Parameters:
extractorName
- The name of the container extractor to use.- Returns:
this
, for method chaining.- See Also:
-
noExtractors
Indicates that no container extractors should be applied, not even the default ones.- Returns:
this
, for method chaining.- See Also:
-
extractors
- Parameters:
extractorPath
- AContainerExtractorPath
.- Returns:
this
, for method chaining.- See Also:
-
targetType
- Parameters:
targetType
- A type indexed-embedded elements should be cast to. When relying oncontainer extraction
, the extracted values are cast, not the container. By default, no casting occurs.- Returns:
this
, for method chaining.- See Also:
-
PropertyMappingStep.indexedEmbedded(String)
instead.