All Superinterfaces:
BasicLogger
All Known Implementing Classes:
Log_$logger

@MessageLogger(projectCode="HSEARCH") @ValidIdRange(min=800000,max=809999) @ValidIdRange(min=34,max=34) @ValidIdRange(min=36,max=36) @ValidIdRange(min=39,max=39) @ValidIdRange(min=62,max=62) @ValidIdRange(min=116,max=116) @ValidIdRange(min=183,max=183) @ValidIdRange(min=211,max=212) @ValidIdRange(min=276,max=276) @ValidIdRange(min=348,max=349) public interface Log extends BasicLogger
  • Field Details

  • Method Details

    • version

      @LogMessage(level=INFO) @Message(id=34, value="Hibernate Search version %1$s") void version(String versionString)
    • cannotGuessTransactionStatus

      @LogMessage(level=WARN) @Message(id=36, value="Unable to guess the transaction status: not starting a JTA transaction.") void cannotGuessTransactionStatus(@Cause Exception e)
    • unableToCloseSearcherInScrollableResult

      @LogMessage(level=WARN) @Message(id=39, value="Unable to properly close scroll in ScrollableResults.") void unableToCloseSearcherInScrollableResult(@Cause Exception e)
    • transactionNotActiveWhileProducingIdsForBatchIndexing

      @Message(id=276, value="No transaction active. Consider increasing the connection time-out.") SearchException transactionNotActiveWhileProducingIdsForBatchIndexing()
    • hibernateSearchNotInitialized

      @Message(id=800001, value="Hibernate Search was not initialized.") SearchException hibernateSearchNotInitialized()
    • invalidAutomaticIndexingStrategyName

      @Message(id=800003, value="Invalid automatic indexing strategy name: \'%1$s\'. Valid names are: %2$s.") SearchException invalidAutomaticIndexingStrategyName(String invalidRepresentation, List<String> validRepresentations)
    • unknownPathForDirtyChecking

      @Message(id=800007, value="Unable to resolve path \'%1$s\' to a persisted attribute in Hibernate ORM metadata. If this path points to a transient attribute, use @IndexingDependency(derivedFrom = ...) to specify which persisted attributes it is derived from. See the reference documentation for more information.") SearchException unknownPathForDirtyChecking(@FormatWith(PojoModelPathFormatter.class) PojoModelPath path, @Cause Exception e)
    • unreportedPathForDirtyChecking

      @Message(id=800008, value="Path \'%1$s\' points to attribute \'%2$s\' that will never be reported as dirty by Hibernate ORM. Check that you didn\'t declare an invalid indexing dependency.") SearchException unreportedPathForDirtyChecking(@FormatWith(PojoModelPathFormatter.class) PojoModelPath path, Value value)
    • invalidContainerExtractorForDirtyChecking

      @Message(id=800009, value="Unable to apply container value extractor with name \'%2$s\' to Hibernate ORM metadata node of type \'%1$s\'.") SearchException invalidContainerExtractorForDirtyChecking(Class<?> ormMappingClass, String extractorName)
    • usingDifferentSessionFactories

      @Message(id=800011, value="Unable to create a SearchSession for sessions created using a different session factory. Expected: \'%1$s\'. In use: \'%2$s\'.") SearchException usingDifferentSessionFactories(SessionFactory expectedSessionFactory, SessionFactory usedSessionFactory)
    • errorRetrievingPropertyTypeModel

      @Message(id=800012, value="Unable to retrieve property type model for \'%1$s\' on \'%2$s\': %3$s") SearchException errorRetrievingPropertyTypeModel(String propertyModelName, @FormatWith(PojoTypeModelFormatter.class) PojoRawTypeModel<?> parentTypeModel, String causeMessage, @Cause Exception cause)
    • hibernateSessionAccessError

      @Message(id=800016, value="Unable to access Hibernate ORM session: %1$s") SearchException hibernateSessionAccessError(String causeMessage, @Cause IllegalStateException cause)
    • hibernateSessionIsClosed

      @Message(id=800017, value="Underlying Hibernate ORM Session is closed.") SearchException hibernateSessionIsClosed(@Cause IllegalStateException cause)
    • invalidEntityLoadingCacheLookupStrategyName

      @Message(id=800018, value="Invalid entity loading cache lookup strategy name: \'%1$s\'. Valid names are: %2$s.") SearchException invalidEntityLoadingCacheLookupStrategyName(String invalidRepresentation, List<String> validRepresentations)
    • skippingPreliminaryCacheLookupsForNonEntityIdEntityLoader

      @LogMessage(level=DEBUG) @Message(id=800019, value="The entity loader for \'%1$s\' is ignoring the cache lookup strategy \'%2$s\', because document IDs are distinct from entity IDs and thus cannot be used for persistence context or second level cache lookups.") void skippingPreliminaryCacheLookupsForNonEntityIdEntityLoader(String entityName, EntityLoadingCacheLookupStrategy cacheLookupStrategy)
    • skippingSecondLevelCacheLookupsForNonCachedEntityTypeEntityLoader

      @LogMessage(level=DEBUG) @Message(id=800020, value="The entity loader for \'%1$s\' is ignoring the second-level cache even though it was instructed to use it, because caching is not enabled for this entity type.") void skippingSecondLevelCacheLookupsForNonCachedEntityTypeEntityLoader(String entityName)
    • hibernateSessionFactoryAccessError

      @Message(id=800021, value="Unable to access Hibernate ORM session factory: %1$s") SearchException hibernateSessionFactoryAccessError(String causeMessage, @Cause IllegalStateException cause)
    • indexingFailure

      @Message(id=800022, value="Indexing failure: %1$s.\nThe following entities may not have been updated correctly in the index: %2$s.") SearchException indexingFailure(String causeMessage, List<?> failingEntities, @Cause Throwable cause)
    • synchronizationBeforeTransactionFailure

      @Message(id=800023, value="Unable to process entities for indexing before transaction completion: %1$s") SearchException synchronizationBeforeTransactionFailure(String causeMessage, @Cause Throwable cause)
    • synchronizationAfterTransactionFailure

      @Message(id=800024, value="Unable to index documents for indexing after transaction completion: %1$s") SearchException synchronizationAfterTransactionFailure(String causeMessage, @Cause Throwable cause)
    • transactionHandlingException

      @Message(id=800025, value="Unable to handle transaction: %1$s") SearchException transactionHandlingException(String causeMessage, @Cause Throwable cause)
    • unknownNamedType

      @Message(id=800027, value="Unknown type: \'%1$s\'. Available named types: %2$s. For entity types, the correct type name is the entity name. For component types (embeddeds, ...) in dynamic-map entities, the correct type name is name of the owner entity followed by a dot (\'.\') followed by the dot-separated path to the component, e.g. \'MyEntity.myEmbedded\' or \'MyEntity.myEmbedded.myNestedEmbedded\'.") SearchException unknownNamedType(String typeName, Collection<String> availableNamedTypes)
    • invalidSchemaManagementStrategyName

      @Message(id=800032, value="Invalid schema management strategy name: \'%1$s\'. Valid names are: %2$s.") SearchException invalidSchemaManagementStrategyName(String invalidRepresentation, List<String> validRepresentations)
    • unknownClassForIndexedEntityType

      @Message(id=800033, value="No matching indexed entity type for class \'%1$s\'. Either this class is not an entity type, or the entity type is not indexed in Hibernate Search. Valid classes for indexed entity types are: %2$s") SearchException unknownClassForIndexedEntityType(@FormatWith(ClassFormatter.class) Class<?> invalidClass, @FormatWith(CommaSeparatedClassesFormatter.class) Collection<Class<?>> validClasses)
    • unknownEntityNameForIndexedEntityType

      @Message(id=800034, value="No matching indexed entity type for name \'%1$s\'. Either this is not the name of an entity type, or the entity type is not indexed in Hibernate Search. Valid names for indexed entity types are: %2$s") SearchException unknownEntityNameForIndexedEntityType(String invalidName, Collection<String> validNames)
    • shutdownFailed

      @LogMessage(level=ERROR) @Message(id=800035, value="Unable to shut down Hibernate Search:") void shutdownFailed(@Cause Throwable cause)
    • canOnlyUseScrollWithScrollModeForwardsOnly

      @Message(id=800036, value="Cannot use scroll() with scroll mode \'%1$s\' with Hibernate Search queries: only ScrollMode.FORWARDS_ONLY is supported.") SearchException canOnlyUseScrollWithScrollModeForwardsOnly(ScrollMode scrollMode)
    • cannotScrollBackwards

      @Message(id=800037, value="Cannot scroll backwards with Hibernate Search scrolls: they are forwards-only. Ensure you always increment the scroll position, and never decrement it.") SearchException cannotScrollBackwards()
    • cannotSetScrollPositionRelativeToEnd

      @Message(id=800038, value="Cannot set the scroll position relative to the end with Hibernate Search scrolls. Ensure you always pass a positive number to setRowNumber().") SearchException cannotSetScrollPositionRelativeToEnd()
    • cannotUseClosedScrollableResults

      @Message(id=800039, value="Cannot use this ScrollableResults instance: it is closed.") SearchException cannotUseClosedScrollableResults()
    • foundMultipleEntitiesForDocumentId

      @Message(id=800040, value="Multiple instances of entity type \'%1$s\' have their property \'%2$s\' set to \'%3$s\'. \'%2$s\' is the document ID and must be assigned unique values.") SearchException foundMultipleEntitiesForDocumentId(String entityName, String documentIdSourcePropertyName, Object id)
    • beanNotFoundInBeanContainer

      @Message(id=800041, value="No such bean in bean container \'%1$s\'.") BeanNotFoundException beanNotFoundInBeanContainer(BeanContainer beanContainer)
    • cannotConfigureSynchronizationStrategyWithIndexingEventQueue

      @Message(id=800042, value="Cannot customize the indexing plan synchronization strategy: the selected coordination strategy always processes events asynchronously, through a queue.") SearchException cannotConfigureSynchronizationStrategyWithIndexingEventQueue()
    • deprecatedPropertyUsedInsteadOfNew

      @LogMessage(level=WARN) @Message(id=800053, value="Configuration property \'%1$s\' is deprecated; use \'%2$s\' instead.") void deprecatedPropertyUsedInsteadOfNew(String resolveOrRaw, String resolveOrRaw1)
    • missingTenantIdConfiguration

      @Message(id=800054, value="Cannot determine the set of all possible tenant identifiers. You must provide this information by setting configuration property \'%1$s\' to a comma-separated string containing all possible tenant identifiers.") SearchException missingTenantIdConfiguration(String tenantIdsConfigurationPropertyKey)
    • invalidTenantId

      @Message(id=800055, value="Cannot target tenant \'%1$s\' because this tenant identifier was not listed in the configuration provided on startup. To target this tenant, you must provide the tenant identifier through configuration property \'%3$s\', which should be set to a comma-separated string containing all possible tenant identifiers. Currently configured tenant identifiers: %2$s.") SearchException invalidTenantId(String tenantId, Set<String> allTenantIds, String tenantIdsConfigurationPropertyKey)
    • ignoringUnrecognizedQueryHint

      @LogMessage(level=INFO) @Message(id=800056, value="Ignoring unrecognized query hint [%s]") void ignoringUnrecognizedQueryHint(String hintName)
    • cannotSetFetchSize

      @Message(id=800057, value="Cannot set the fetch size of Hibernate Search ScrollableResults after having created them. If you want to define the size of batches for entity loading, set loading options when defining the query instead, for example with .loading(o -> o.fetchSize(50)). See the reference documentation for more information.") SearchException cannotSetFetchSize()
    • unknownTypeIdentifierForIndexedEntityType

      @Message(id=800059, value="No matching indexed entity type for type identifier \'%1$s\'. Either this type is not an entity type, or the entity type is not indexed in Hibernate Search. Valid identifiers for indexed entity types are: %2$s") SearchException unknownTypeIdentifierForIndexedEntityType(PojoRawTypeIdentifier<?> invalidTypeId, Collection<PojoRawTypeIdentifier<?>> validTypeIds)
    • unknownClassForMappedEntityType

      @Message(id=800060, value="No matching entity type for class \'%1$s\'. Either this class is not an entity type, or the entity type is not mapped in Hibernate Search. Valid classes for mapped entity types are: %2$s") SearchException unknownClassForMappedEntityType(@FormatWith(ClassFormatter.class) Class<?> invalidClass, @FormatWith(CommaSeparatedClassesFormatter.class) Collection<Class<?>> validClasses)
    • unknownEntityNameForMappedEntityType

      @Message(id=800061, value="No matching entity type for name \'%1$s\'. Either this is not the name of an entity type, or the entity type is not mapped in Hibernate Search. Valid names for mapped entity types are: %2$s") SearchException unknownEntityNameForMappedEntityType(String invalidName, Collection<String> validNames)
    • unknownHibernateOrmEntityNameForMappedEntityType

      @Message(id=800064, value="No matching entity type for name \'%1$s\'. Either this is not the Hibernate ORM name of an entity type, or the entity type is not mapped in Hibernate Search. Valid Hibernate ORM names for mapped entities are: %2$s") SearchException unknownHibernateOrmEntityNameForMappedEntityType(String invalidName, Collection<String> validNames)
    • failedToResolveStateRepresentation

      @LogMessage(level=WARN) @Message(id=800121, value="An unexpected failure occurred while resolving the representation of path \'%1$s\' in the entity state array, which is necessary to configure resolution of association inverse side for reindexing. This may lead to incomplete reindexing and thus out-of-sync indexes. The exception is being ignored to preserve backwards compatibility with earlier versions of Hibernate Search. Failure: %3$s %2$s") void failedToResolveStateRepresentation(String path, @FormatWith(EventContextFormatter.class) EventContext context, String causeMessage, @Cause Exception cause)
    • bothNewAndOldConfigurationPropertiesForIndexingPlanSyncAreUsed

      @Message(id=800122, value="Both \'%1$s\' and \'%2$s\' are configured. Use only \'%1$s\' to set the indexing plan synchronization strategy. ") SearchException bothNewAndOldConfigurationPropertiesForIndexingPlanSyncAreUsed(String key1, String key2)
    • automaticIndexingSynchronizationStrategyIsDeprecated

      @LogMessage(level=WARN) @Message(id=800123, value="Configuration property \'%1$s\' is deprecated; use \'%2$s\' instead.") void automaticIndexingSynchronizationStrategyIsDeprecated(String deprecatedProperty, String newProperty)
    • cannotApplySessionFilterWhenAsyncProcessingIsUsed

      @Message(id=800124, value="Unable to apply the given filter at the session level with the outbox polling coordination strategy. With this coordination strategy, applying a session-level indexing plan filter is only allowed if it excludes all types.") SearchException cannotApplySessionFilterWhenAsyncProcessingIsUsed()
    • automaticIndexingEnableDirtyCheckIsDeprecated

      @LogMessage(level=WARN) @Message(id=800125, value="Configuration property \'%1$s\' is deprecated. This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.") void automaticIndexingEnableDirtyCheckIsDeprecated(String deprecatedProperty)
    • bothNewAndOldConfigurationPropertiesForIndexingListenersAreUsed

      @Message(id=800126, value="Both \'%1$s\' and \'%2$s\' are configured. Use only \'%2$s\' to enable indexing listeners. ") SearchException bothNewAndOldConfigurationPropertiesForIndexingListenersAreUsed(String key1, String key2)