@Incubating public interface PojoOtherEntityIndexingDependencyConfigurationContext
| Modifier and Type | Method and Description |
|---|---|
PojoOtherEntityIndexingDependencyConfigurationContext |
use(PojoModelPathValueNode pathFromBridgedTypeToUsedValue)
Declare that the given path is read by the bridge at index time to populate the indexed document.
|
default PojoOtherEntityIndexingDependencyConfigurationContext |
use(String pathFromOtherEntityTypeToUsedValue)
Declare that the given path is read by the bridge at index time to populate the indexed document.
|
@Incubating default PojoOtherEntityIndexingDependencyConfigurationContext use(String pathFromOtherEntityTypeToUsedValue)
pathFromOtherEntityTypeToUsedValue - The path from the entity type to the value used by the bridge,
as a String. The string is interpreted with default value extractors: see PojoModelPath.parse(String).this, for method chaining.org.hibernate.search.util.common.SearchException - If the given path cannot be applied to the entity type.use(PojoModelPathValueNode)@Incubating PojoOtherEntityIndexingDependencyConfigurationContext use(PojoModelPathValueNode pathFromBridgedTypeToUsedValue)
Every component of this path will be considered as a dependency,
so it is not necessary to call this method for every subpath.
In other words, if the path "myProperty.someOtherPropety" is declared as used,
Hibernate Search will automatically assume that "myProperty" is also used.
pathFromBridgedTypeToUsedValue - The path from the entity type to the value used by the bridge.this, for method chaining.org.hibernate.search.util.common.SearchException - If the given path cannot be applied to the entity type.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.