public interface CompanyIndexConfigurationContributor
Modifier and Type | Method and Description |
---|---|
void |
contributeMappings(long companyId,
MappingsHelper mappingsHelper)
Adds search engine mappings via the provided
MappingsHelper . |
void |
contributeSettings(long companyId,
SettingsHelper settingsHelper)
Adds search engine settings via the provided
SettingsHelper . |
void contributeMappings(long companyId, MappingsHelper mappingsHelper)
MappingsHelper
.
Implementations of this method should use the MappingsHelper.putMappings(String)
method to add the desired mappings to
the search engine.
companyId
- the company ID of the index targeted by the new
mappings.mappingsHelper
- An instance of MappingsHelper
used to apply
search engine mappings.void contributeSettings(long companyId, SettingsHelper settingsHelper)
SettingsHelper
.
Implementations of this method should use the SettingsHelper.put(String, String)
method to add the desired settings to
the search engine.
companyId
- the company ID of the index targeted by the new
settings.settingsHelper
- An instance of SettingsHelper
used to apply
search engine settings.