/** * Returns the configured value of {@link org.hibernate.search.cfg.Environment#INDEX_METADATA_COMPLETE} for this specific index. * If no value is set, the default is defined by {@link org.hibernate.search.cfg.spi.SearchConfiguration#isIndexMetadataComplete()}. * * @param indexProps The index configuration properties * @param context The WorkerBuildContext provides a view of the default setting * * @return {@code true} when the index metadata is fully defined. */ public static boolean isIndexMetadataComplete(Properties indexProps, WorkerBuildContext context) { return ConfigurationParseHelper.getBooleanValue( indexProps, Environment.INDEX_METADATA_COMPLETE, context.isIndexMetadataComplete() ); }
/** * Returns the configured value of {@link org.hibernate.search.cfg.Environment#INDEX_METADATA_COMPLETE} for this specific index. * If no value is set, the default is defined by {@link org.hibernate.search.cfg.spi.SearchConfiguration#isIndexMetadataComplete()}. * * @param indexProps The index configuration properties * @param context The WorkerBuildContext provides a view of the default setting * * @return {@code true} when the index metadata is fully defined. */ public static boolean isIndexMetadataComplete(Properties indexProps, WorkerBuildContext context) { return ConfigurationParseHelper.getBooleanValue( indexProps, Environment.INDEX_METADATA_COMPLETE, context.isIndexMetadataComplete() ); }