org.hibernate.search.util.logging.impl
Interface Log

All Superinterfaces:
org.jboss.logging.BasicLogger
All Known Subinterfaces:
Log

@MessageLogger(projectCode="HSEARCH")
public interface Log
extends org.jboss.logging.BasicLogger

Log abstraction layer for Hibernate Search on top of JBoss Logging.

Since:
4.0
Author:
Davide D'Alto

Method Summary
 void abstractClassesCannotInsertDocuments()
           
 SearchException attributeNotRecognizedNorSerializable(Class<?> attributeType)
           
 void backendError(Exception e)
           
 SearchException cannotDeserializeField(String schema)
           
 SearchException cannotDeserializeOperation(String schema)
           
 void cannotExtractValueForIdentifier(Class<?> beanClass)
           
 SearchException cannotGetResultSizeWithCriteriaAndRestriction(String criteria)
           
 void cannotGuessTransactionStatus(Exception e)
           
 void cannotOpenIndexWriterCausePreviousError()
           
 SearchException cannotSerializeCustomField(Class<?> fieldType)
           
 SearchException cantOpenCorruptedIndex(org.apache.lucene.index.CorruptIndexException e, String indexName)
           
 void checkSizeMustBePositive()
           
 void closedBlackholeBackend()
           
 void containedInPointsToProvidedId(Class<?> objectClass)
           
 SearchException conversionFromReaderToStringNotYetImplemented()
           
 void couldNotCloseResource(Exception e)
           
 void directoryProviderExceptionOnStop(Exception e)
           
 void errorDuringBatchIndexing(Throwable e)
           
 void errorExecutingRunnableInTransaction(Throwable e)
           
 void errorRollingBackTransaction(String message, Exception e1)
           
 void eventListenerWontBeRegistered()
           
 String exceptionDuringIndexMergeOperation()
           
 void exceptionOccurred(String errorMsg, Throwable exceptionThatOccurred)
           
 void failedSlaveDirectoryProviderInitialization(String indexName, Exception re)
           
 SearchException failToDeserializeObject(Throwable e)
           
 SearchException failToSerializeObject(Class<?> type, Throwable e)
           
 SearchException fieldLooksBinaryButDecompressionFailed(String fieldName)
           
 void forceRemoveOnIndexOperationViaInterception(Class<?> entityClass, WorkType type)
           
 void forceSkipIndexOperationViaInterception(Class<?> entityClass, WorkType type)
           
 void forceToUseDocumentExtraction()
           
 void forceUpdateOnIndexOperationViaInterception(Class<?> entityClass, WorkType type)
           
 void forcingReleaseIndexWriterLock()
           
 void foundCurrentMarker()
           
 void idCannotBeExtracted(String affectedOwnerEntityName)
           
 void ignoringBackendOptionForIndex(String indexName, String forcedBackend)
           
 void illegalObjectRetrievedFromMessage(Exception e)
           
 SearchException incompatibleProtocolVersion(int messageMajor, int messageMinor, int currentMajor, int currentMinor)
           
 void inconsistentFieldConfiguration(String fieldName)
           
 void incorrectMessageType(Class<?> messageType)
           
 void indexDirectoryNotFoundCreatingNewOne(String absolutePath)
           
 void indexingCompletedAndMBeanUnregistered(long nbrOfEntities)
           
 void indexingDocumentsCompleted(long doneCount, long elapsedMs)
           
 void indexingEntities(long count)
           
 void indexingEntitiesCompleted(long nbrOfEntities)
           
 void indexingSpeed(float estimateSpeed, float estimatePercentileComplete)
           
 void initializedBlackholeBackend()
           
 void interruptedBatchIndexing()
           
 void interruptedWhileWaitingForIndexActivity(InterruptedException e)
           
 void interruptedWorkError(Runnable r)
           
 SearchException ioExceptionOnIndex(IOException e, String indexName)
           
 String ioExceptionOnIndexWriter()
           
 SearchException jGroupsChannelCreationFromStringError(String configuration, Throwable e)
           
 SearchException jGroupsChannelCreationUsingFileError(String configuration, Throwable e)
           
 SearchException jGroupsChannelCreationUsingXmlError(String configuration, Throwable e)
           
 SearchException jGroupsChannelInjectionError(Exception e, Class<?> actualType)
           
 void jGroupsClosingChannelError(Exception toLog)
           
 void jGroupsConfigurationNotFoundInProperties(Properties props)
           
 void jGroupsConnectedToCluster(String clusterName, Object address)
           
 void jGroupsDefaultConfigurationFileNotFound()
           
 void jGroupsDisconnectingAndClosingChannel()
           
 void jGroupsFlushNotPresentInStack()
           
 void jGroupsReceivedNewClusterView(Object view)
           
 void jGroupsStartingChannel()
           
 SearchException legacyJGroupsConfigurationDefined(String indexName)
           
 void massIndexerIndexWriterThreadsIgnored()
           
 String massIndexerUnexpectedErrorMessage()
           
 void messageReceivedForUndefinedIndex(String indexName)
           
 IllegalArgumentException needAtLeastOneIndexedEntityType()
           
 IllegalArgumentException needAtLeastOneIndexName()
           
 void noCurrentMarkerInSourceDirectory()
           
 IllegalArgumentException notAnIndexedType(String entityName)
           
 void notChangeTimestamp(File destFile)
           
 void notDeleted(File file)
           
 IllegalArgumentException nullIsInvalidIndexedType()
           
 IllegalArgumentException nullIsInvalidIndexName()
           
 void optimizationSkippedStillBusy(String indexName)
           
 void pushedChangesOutOfTransaction()
           
 void readerProviderExceptionOnDestroy(Exception e)
           
 void readersNotProperlyClosedInReaderProvider()
           
 void receivedEmptyLuceneWorksInMessage()
           
 void recommendConfiguringLuceneVersion()
           
 SearchException requestedIndexNotDefined(String indexName)
           
 void serializationProtocol(int major, int minor)
           
 void serviceProviderNotReleased(Class<?> class1)
           
 void shuttingDownBackend(String indexName)
           
 void similarityInstantiationException(String similarityName, String beanXClassName)
           
 void skippingDirectorySynchronization(String indexName)
           
 void stopServiceFailed(Class<?> class1, Exception e)
           
 void terminatingBatchWorkCanCauseInconsistentState()
           
 SearchException unableConnectingToJGroupsCluster(String clusterName, Throwable e)
           
 void unableToCloseJmsConnection(String jmsQueueName, Exception e)
           
 void unableToCloseLuceneDirectory(Object directory, Exception e)
           
 void unableToCLoseLuceneIndexReader(Exception e)
           
 void unableToCloseSearcherDuringQuery(String query, Exception e)
           
 void unableToCloseSearcherInScrollableResult(Exception e)
           
 void unableToCompareSourceWithDestinationDirectory(String source, String destination)
           
 SearchException unableToConvertSerializableIndexToLuceneIndex(String index)
           
 SearchException unableToConvertSerializableStoreToLuceneStore(String store)
           
 SearchException unableToConvertSerializableTermVectorToLuceneTermVector(String termVector)
           
 void unableToCreateCurrentMarker(String indexName, Exception e)
           
 SearchException unableToDeserializeAvroStream(Throwable e)
           
 void unableToDetermineCurrentInSourceDirectory()
           
 SearchException unableToInitializeIndexManager(String indexName, Throwable e)
           
 SearchException unableToLoadResource(String fileName)
           
 SearchException unableToReadFile(String filename, Throwable e)
           
 SearchException unableToReadSerializedLuceneWorks(Throwable e)
           
 SearchException unableToReadTokenStream()
           
 void unableToRemovePreviousMarket(String indexName)
           
 void unableToRetrieveNamedAnalyzer(String value)
           
 void unableToRetrieveObjectFromMessage(Class<?> messageClass, Exception e)
           
 SearchException unableToSendWorkViaJGroups(Throwable e)
           
 SearchException unableToSerializeInAvro(Throwable e)
           
 SearchException unableToSerializeLuceneWorks(Throwable e)
           
 void unableToShutdownAsynchronousIndexing(Exception e)
           
 void unableToShutdownAsynchronousIndexingByTimeout(String indexName)
           
 SearchException unableToStartJGroupsChannel(Throwable e)
           
 SearchException unableToStartSerializationLayer(Throwable e)
           
 void unableToSynchronizeSource(String indexName, Exception e)
           
 void unableToUnregisterExistingMBean(String name, Exception e)
           
 void unexpectedErrorInLuceneBackend(Throwable tw)
           
 void unexpectedValueMissingFromFieldCache()
           
 SearchException unknownAttributeSerializedRepresentation(String name)
           
 SearchException unknownFieldType(Class<?> fieldType)
           
 SearchException unknownFullTextFilter(String filterName)
           
 SearchException unknownNumericFieldType(String dataType)
           
 void updatedDirectoryProviders()
           
 void version(String versionString)
           
 void warnSuspiciousBackendDirectoryCombination(String indexName)
           
 void workerException(Exception e)
           
 
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
 

Method Detail

initializedBlackholeBackend

@LogMessage(level=WARN)
@Message(id=1,
         value="initialized \"blackhole\" backend. Index changes will be prepared but discarded!")
void initializedBlackholeBackend()

closedBlackholeBackend

@LogMessage(level=INFO)
@Message(id=2,
         value="closed \"blackhole\" backend.")
void closedBlackholeBackend()

updatedDirectoryProviders

@LogMessage(level=WARN)
@Message(id=3,
         value="update DirectoryProviders \"blackhole\" backend. Index changes will be prepared but discarded!")
void updatedDirectoryProviders()

similarityInstantiationException

@LogMessage(level=ERROR)
@Message(id=4,
         value="Exception attempting to instantiate Similarity \'%1$s\' set for %2$s")
void similarityInstantiationException(String similarityName,
                                                         String beanXClassName)

jGroupsStartingChannel

@LogMessage(level=INFO)
@Message(id=5,
         value="Starting JGroups Channel")
void jGroupsStartingChannel()

jGroupsConnectedToCluster

@LogMessage(level=INFO)
@Message(id=6,
         value="Connected to cluster [ %1$s ]. The node address is %2$s")
void jGroupsConnectedToCluster(String clusterName,
                                                  Object address)

jGroupsFlushNotPresentInStack

@LogMessage(level=WARN)
@Message(id=7,
         value="FLUSH is not present in your JGroups stack!  FLUSH is needed to ensure messages are not dropped while new nodes join the cluster.  Will proceed, but inconsistencies may arise!")
void jGroupsFlushNotPresentInStack()

jGroupsChannelCreationUsingFileError

@Message(id=8,
         value="Error while trying to create a channel using config file: %1$s")
SearchException jGroupsChannelCreationUsingFileError(String configuration,
                                                             @Cause
                                                             Throwable e)

jGroupsChannelCreationUsingXmlError

@Message(id=9,
         value="Error while trying to create a channel using config XML: %1$s")
SearchException jGroupsChannelCreationUsingXmlError(String configuration,
                                                            @Cause
                                                            Throwable e)

jGroupsChannelCreationFromStringError

@Message(id=10,
         value="Error while trying to create a channel using config string: %1$s")
SearchException jGroupsChannelCreationFromStringError(String configuration,
                                                              @Cause
                                                              Throwable e)

jGroupsConfigurationNotFoundInProperties

@LogMessage(level=INFO)
@Message(id=11,
         value="Unable to use any JGroups configuration mechanisms provided in properties %1$s. Using default JGroups configuration file!")
void jGroupsConfigurationNotFoundInProperties(Properties props)

jGroupsDefaultConfigurationFileNotFound

@LogMessage(level=WARN)
@Message(id=12,
         value="Default JGroups configuration file was not found. Attempt to start JGroups channel with default configuration!")
void jGroupsDefaultConfigurationFileNotFound()

jGroupsDisconnectingAndClosingChannel

@LogMessage(level=INFO)
@Message(id=13,
         value="Disconnecting and closing JGroups Channel")
void jGroupsDisconnectingAndClosingChannel()

jGroupsClosingChannelError

@LogMessage(level=ERROR)
@Message(id=14,
         value="Problem closing channel; setting it to null")
void jGroupsClosingChannelError(@Cause
                                                   Exception toLog)

jGroupsReceivedNewClusterView

@LogMessage(level=INFO)
@Message(id=15,
         value="Received new cluster view: %1$s")
void jGroupsReceivedNewClusterView(Object view)

incorrectMessageType

@LogMessage(level=ERROR)
@Message(id=16,
         value="Incorrect message type: %1$s")
void incorrectMessageType(Class<?> messageType)

interruptedWorkError

@LogMessage(level=ERROR)
@Message(id=17,
         value="Work discarded, thread was interrupted while waiting for space to schedule: %1$s")
void interruptedWorkError(Runnable r)

skippingDirectorySynchronization

@LogMessage(level=INFO)
@Message(id=18,
         value="Skipping directory synchronization, previous work still in progress: %1$s")
void skippingDirectorySynchronization(String indexName)

unableToRemovePreviousMarket

@LogMessage(level=WARN)
@Message(id=19,
         value="Unable to remove previous marker file from source of %1$s")
void unableToRemovePreviousMarket(String indexName)

unableToCreateCurrentMarker

@LogMessage(level=WARN)
@Message(id=20,
         value="Unable to create current marker in source of %1$s")
void unableToCreateCurrentMarker(String indexName,
                                                    @Cause
                                                    Exception e)

unableToSynchronizeSource

@LogMessage(level=ERROR)
@Message(id=21,
         value="Unable to synchronize source of %1$s")
void unableToSynchronizeSource(String indexName,
                                                  @Cause
                                                  Exception e)

unableToDetermineCurrentInSourceDirectory

@LogMessage(level=WARN)
@Message(id=22,
         value="Unable to determine current in source directory, will try again during the next synchronization")
void unableToDetermineCurrentInSourceDirectory()

unableToCompareSourceWithDestinationDirectory

@LogMessage(level=ERROR)
@Message(id=23,
         value="Unable to compare %1$s with %2$s.")
void unableToCompareSourceWithDestinationDirectory(String source,
                                                                      String destination)

idCannotBeExtracted

@LogMessage(level=WARN)
@Message(id=24,
         value="Unable to reindex entity on collection change, id cannot be extracted: %1$s")
void idCannotBeExtracted(String affectedOwnerEntityName)

serviceProviderNotReleased

@LogMessage(level=WARN)
@Message(id=25,
         value="Service provider has been used but not released: %1$s")
void serviceProviderNotReleased(Class<?> class1)

stopServiceFailed

@LogMessage(level=ERROR)
@Message(id=26,
         value="Fail to properly stop service: %1$s")
void stopServiceFailed(Class<?> class1,
                                          @Cause
                                          Exception e)

indexingEntities

@LogMessage(level=INFO)
@Message(id=27,
         value="Going to reindex %d entities")
void indexingEntities(long count)

indexingEntitiesCompleted

@LogMessage(level=INFO)
@Message(id=28,
         value="Reindexed %1$d entities")
void indexingEntitiesCompleted(long nbrOfEntities)

indexingCompletedAndMBeanUnregistered

@LogMessage(level=INFO)
@Message(id=29,
         value="Indexing completed. Reindexed %1$d entities. Unregistering MBean from server")
void indexingCompletedAndMBeanUnregistered(long nbrOfEntities)

indexingDocumentsCompleted

@LogMessage(level=INFO)
@Message(id=30,
         value="%1$d documents indexed in %2$d ms")
void indexingDocumentsCompleted(long doneCount,
                                                   long elapsedMs)

indexingSpeed

@LogMessage(level=INFO)
@Message(id=31,
         value="Indexing speed: %1$f documents/second; progress: %2$.2f%%")
void indexingSpeed(float estimateSpeed,
                                      float estimatePercentileComplete)

notDeleted

@LogMessage(level=WARN)
@Message(id=32,
         value="Could not delete %1$s")
void notDeleted(File file)

notChangeTimestamp

@LogMessage(level=WARN)
@Message(id=33,
         value="Could not change timestamp for %1$s. Index synchronization may be slow.")
void notChangeTimestamp(File destFile)

version

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

couldNotCloseResource

@LogMessage(level=WARN)
@Message(id=35,
         value="Could not close resource.")
void couldNotCloseResource(@Cause
                                              Exception e)

cannotGuessTransactionStatus

@LogMessage(level=WARN)
@Message(id=36,
         value="Cannot guess the Transaction Status: not starting a JTA transaction")
void cannotGuessTransactionStatus(@Cause
                                                     Exception e)

unableToCloseSearcherDuringQuery

@LogMessage(level=WARN)
@Message(id=37,
         value="Unable to properly close searcher during lucene query: %1$s")
void unableToCloseSearcherDuringQuery(String query,
                                                         @Cause
                                                         Exception e)

forceToUseDocumentExtraction

@LogMessage(level=WARN)
@Message(id=38,
         value="Forced to use Document extraction to workaround FieldCache bug in Lucene")
void forceToUseDocumentExtraction()

unableToCloseSearcherInScrollableResult

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

unexpectedValueMissingFromFieldCache

@LogMessage(level=WARN)
@Message(id=40,
         value="Unexpected: value is missing from FieldCache. This is likely a bug in the FieldCache implementation, Hibernate Search might have to workaround this by slightly inaccurate faceting values or reduced performance.")
void unexpectedValueMissingFromFieldCache()

indexDirectoryNotFoundCreatingNewOne

@LogMessage(level=WARN)
@Message(id=41,
         value="Index directory not found, creating: \'%1$s\'")
void indexDirectoryNotFoundCreatingNewOne(String absolutePath)

noCurrentMarkerInSourceDirectory

@LogMessage(level=WARN)
@Message(id=42,
         value="No current marker in source directory. Has the master being started already?")
void noCurrentMarkerInSourceDirectory()

foundCurrentMarker

@LogMessage(level=INFO)
@Message(id=43,
         value="Found current marker in source directory - initialization succeeded")
void foundCurrentMarker()

abstractClassesCannotInsertDocuments

@LogMessage(level=WARN)
@Message(id=44,
         value="Abstract classes can never insert index documents. Remove @Indexed.")
void abstractClassesCannotInsertDocuments()

containedInPointsToProvidedId

@LogMessage(level=WARN)
@Message(id=45,
         value="@ContainedIn is pointing to an entity having @ProvidedId: %1$s. This is not supported, indexing of contained in entities will be skipped. Indexed data of the embedded object might become out of date in objects of type ")
void containedInPointsToProvidedId(Class<?> objectClass)

cannotExtractValueForIdentifier

@LogMessage(level=WARN)
@Message(id=46,
         value="FieldCache was enabled on class %1$s but for this type of identifier we can\'t extract values from the FieldCache: cache disabled")
void cannotExtractValueForIdentifier(Class<?> beanClass)

unableToCloseJmsConnection

@LogMessage(level=WARN)
@Message(id=47,
         value="Unable to close JMS connection for %1$s")
void unableToCloseJmsConnection(String jmsQueueName,
                                                   @Cause
                                                   Exception e)

unableToRetrieveNamedAnalyzer

@LogMessage(level=WARN)
@Message(id=48,
         value="Unable to retrieve named analyzer: %1$s")
void unableToRetrieveNamedAnalyzer(String value)

interruptedWhileWaitingForIndexActivity

@LogMessage(level=WARN)
@Message(id=49,
         value="Was interrupted while waiting for index activity to finish. Index might be inconsistent or have a stale lock")
void interruptedWhileWaitingForIndexActivity(@Cause
                                                                InterruptedException e)

pushedChangesOutOfTransaction

@LogMessage(level=WARN)
@Message(id=50,
         value="It appears changes are being pushed to the index out of a transaction. Register the IndexWorkFlushEventListener listener on flush to correctly manage Collections!")
void pushedChangesOutOfTransaction()

receivedEmptyLuceneWorksInMessage

@LogMessage(level=WARN)
@Message(id=51,
         value="Received null or empty Lucene works list in message.")
void receivedEmptyLuceneWorksInMessage()

forcingReleaseIndexWriterLock

@LogMessage(level=WARN)
@Message(id=52,
         value="Going to force release of the IndexWriter lock")
void forcingReleaseIndexWriterLock()

checkSizeMustBePositive

@LogMessage(level=WARN)
@Message(id=53,
         value="Chunk size must be positive: using default value.")
void checkSizeMustBePositive()

readersNotProperlyClosedInReaderProvider

@LogMessage(level=WARN)
@Message(id=54,
         value="ReaderProvider contains readers not properly closed at destroy time")
void readersNotProperlyClosedInReaderProvider()

unableToCLoseLuceneIndexReader

@LogMessage(level=WARN)
@Message(id=55,
         value="Unable to close Lucene IndexReader")
void unableToCLoseLuceneIndexReader(@Cause
                                                       Exception e)

unableToUnregisterExistingMBean

@LogMessage(level=WARN)
@Message(id=56,
         value="Unable to un-register existing MBean: %1$s")
void unableToUnregisterExistingMBean(String name,
                                                        @Cause
                                                        Exception e)

eventListenerWontBeRegistered

@LogMessage(level=WARN)
@Message(id=57,
         value="Property hibernate.search.autoregister_listeners is set to false. No attempt will be made to register Hibernate Search event listeners.")
void eventListenerWontBeRegistered()

exceptionOccurred

@LogMessage(level=ERROR)
@Message(id=58,
         value="%1$s")
void exceptionOccurred(String errorMsg,
                                          @Cause
                                          Throwable exceptionThatOccurred)

workerException

@LogMessage(level=ERROR)
@Message(id=59,
         value="Worker raises an exception on close()")
void workerException(@Cause
                                        Exception e)

readerProviderExceptionOnDestroy

@LogMessage(level=ERROR)
@Message(id=60,
         value="ReaderProvider raises an exception on destroy()")
void readerProviderExceptionOnDestroy(@Cause
                                                         Exception e)

directoryProviderExceptionOnStop

@LogMessage(level=ERROR)
@Message(id=61,
         value="DirectoryProvider raises an exception on stop() ")
void directoryProviderExceptionOnStop(@Cause
                                                         Exception e)

interruptedBatchIndexing

@LogMessage(level=ERROR)
@Message(id=62,
         value="Batch indexing was interrupted")
void interruptedBatchIndexing()

errorDuringBatchIndexing

@LogMessage(level=ERROR)
@Message(id=63,
         value="Error during batch indexing: ")
void errorDuringBatchIndexing(@Cause
                                                 Throwable e)

errorExecutingRunnableInTransaction

@LogMessage(level=ERROR)
@Message(id=64,
         value="Error while executing runnable wrapped in a JTA transaction")
void errorExecutingRunnableInTransaction(@Cause
                                                            Throwable e)

errorRollingBackTransaction

@LogMessage(level=ERROR)
@Message(id=65,
         value="Error while rolling back transaction after %1$s")
void errorRollingBackTransaction(String message,
                                                    @Cause
                                                    Exception e1)

failedSlaveDirectoryProviderInitialization

@LogMessage(level=ERROR)
@Message(id=66,
         value="Failed to initialize SlaveDirectoryProvider %1$s")
void failedSlaveDirectoryProviderInitialization(String indexName,
                                                                   @Cause
                                                                   Exception re)

unableToCloseLuceneDirectory

@LogMessage(level=ERROR)
@Message(id=67,
         value="Unable to properly close Lucene directory %1$s")
void unableToCloseLuceneDirectory(Object directory,
                                                     @Cause
                                                     Exception e)

unableToRetrieveObjectFromMessage

@LogMessage(level=ERROR)
@Message(id=68,
         value="Unable to retrieve object from message: %1$s")
void unableToRetrieveObjectFromMessage(Class<?> messageClass,
                                                          @Cause
                                                          Exception e)

illegalObjectRetrievedFromMessage

@LogMessage(level=ERROR)
@Message(id=69,
         value="Illegal object retrieved from message")
void illegalObjectRetrievedFromMessage(@Cause
                                                          Exception e)

terminatingBatchWorkCanCauseInconsistentState

@LogMessage(level=ERROR)
@Message(id=70,
         value="Terminating batch work! Index might end up in inconsistent state.")
void terminatingBatchWorkCanCauseInconsistentState()

unableToShutdownAsynchronousIndexing

@LogMessage(level=ERROR)
@Message(id=71,
         value="Unable to properly shut down asynchronous indexing work")
void unableToShutdownAsynchronousIndexing(@Cause
                                                             Exception e)

cannotOpenIndexWriterCausePreviousError

@LogMessage(level=ERROR)
@Message(id=72,
         value="Couldn\'t open the IndexWriter because of previous error: operation skipped, index ouf of sync!")
void cannotOpenIndexWriterCausePreviousError()

backendError

@LogMessage(level=ERROR)
@Message(id=73,
         value="Error in backend")
void backendError(@Cause
                                     Exception e)

unexpectedErrorInLuceneBackend

@LogMessage(level=ERROR)
@Message(id=74,
         value="Unexpected error in Lucene Backend:")
void unexpectedErrorInLuceneBackend(@Cause
                                                       Throwable tw)

recommendConfiguringLuceneVersion

@LogMessage(level=WARN)
@Message(id=75,
         value="Configuration setting hibernate.search.lucene_version was not specified, using LUCENE_CURRENT.")
void recommendConfiguringLuceneVersion()

cantOpenCorruptedIndex

@Message(id=76,
         value="Could not open Lucene index: index data is corrupted. index name: \'%1$s\'")
SearchException cantOpenCorruptedIndex(@Cause
                                               org.apache.lucene.index.CorruptIndexException e,
                                               String indexName)

ioExceptionOnIndex

@Message(id=77,
         value="An IOException happened while accessing the Lucene index \'%1$s\'")
SearchException ioExceptionOnIndex(@Cause
                                           IOException e,
                                           String indexName)

unableToShutdownAsynchronousIndexingByTimeout

@LogMessage(level=ERROR)
@Message(id=78,
         value="Timed out waiting to flush all operations to the backend of index %1$s")
void unableToShutdownAsynchronousIndexingByTimeout(String indexName)

serializationProtocol

@LogMessage(level=INFO)
@Message(id=79,
         value="Serialization protocol version %1$d.%2$d")
void serializationProtocol(int major,
                                              int minor)

messageReceivedForUndefinedIndex

@LogMessage(level=ERROR)
@Message(id=80,
         value="Received a remote message about an unknown index \'%1$s\': discarding message!")
void messageReceivedForUndefinedIndex(String indexName)

warnSuspiciousBackendDirectoryCombination

@LogMessage(level=WARN)
@Message(id=81,
         value="The index \'%1$s\' is using a non-recommended combination of backend and directoryProvider implementations")
void warnSuspiciousBackendDirectoryCombination(String indexName)

unableToStartSerializationLayer

@Message(id=82,
         value="Unable to start serialization layer")
SearchException unableToStartSerializationLayer(@Cause
                                                        Throwable e)

unableToSerializeLuceneWorks

@Message(id=83,
         value="Unable to serialize List")
SearchException unableToSerializeLuceneWorks(@Cause
                                                     Throwable e)

unableToReadSerializedLuceneWorks

@Message(id=84,
         value="Unable to read serialized List")
SearchException unableToReadSerializedLuceneWorks(@Cause
                                                          Throwable e)

attributeNotRecognizedNorSerializable

@Message(id=85,
         value="Attribute type is not recognized and not serializable: %1$s")
SearchException attributeNotRecognizedNorSerializable(Class<?> attributeType)

unknownAttributeSerializedRepresentation

@Message(id=86,
         value="Unknown attribute serialized representation: %1$s")
SearchException unknownAttributeSerializedRepresentation(String name)

unableToReadTokenStream

@Message(id=87,
         value="Unable to read TokenStream")
SearchException unableToReadTokenStream()

unableToConvertSerializableTermVectorToLuceneTermVector

@Message(id=88,
         value="Unable to convert serializable TermVector to Lucene TermVector: %1$s")
SearchException unableToConvertSerializableTermVectorToLuceneTermVector(String termVector)

unableToConvertSerializableIndexToLuceneIndex

@Message(id=89,
         value="Unable to convert serializable Index to Lucene Index: %1$s")
SearchException unableToConvertSerializableIndexToLuceneIndex(String index)

unableToConvertSerializableStoreToLuceneStore

@Message(id=90,
         value="Unable to convert serializable Store to Lucene Store: %1$s")
SearchException unableToConvertSerializableStoreToLuceneStore(String store)

unknownNumericFieldType

@Message(id=91,
         value="Unknown NumericField type: %1$s")
SearchException unknownNumericFieldType(String dataType)

conversionFromReaderToStringNotYetImplemented

@Message(id=92,
         value="Conversion from Reader to String not yet implemented")
SearchException conversionFromReaderToStringNotYetImplemented()

unknownFieldType

@Message(id=93,
         value="Unknown Field type: %1$s")
SearchException unknownFieldType(Class<?> fieldType)

cannotSerializeCustomField

@Message(id=94,
         value="Cannot serialize custom Fieldable \'%1$s\'. Must be NumericField, Field or a Serializable Fieldable implementation.")
SearchException cannotSerializeCustomField(Class<?> fieldType)

failToSerializeObject

@Message(id=95,
         value="Fail to serialize object of type %1$s")
SearchException failToSerializeObject(Class<?> type,
                                              @Cause
                                              Throwable e)

failToDeserializeObject

@Message(id=96,
         value="Fail to deserialize object")
SearchException failToDeserializeObject(@Cause
                                                Throwable e)

unableToReadFile

@Message(id=97,
         value="Unable to read file %1$s")
SearchException unableToReadFile(String filename,
                                         @Cause
                                         Throwable e)

incompatibleProtocolVersion

@Message(id=98,
         value="Unable to parse message from protocol version %1$d.%2$d. Current protocol version: %3$d.%4$d")
SearchException incompatibleProtocolVersion(int messageMajor,
                                                    int messageMinor,
                                                    int currentMajor,
                                                    int currentMinor)

unableToDeserializeAvroStream

@Message(id=99,
         value="Unable to deserialize Avro stream")
SearchException unableToDeserializeAvroStream(@Cause
                                                      Throwable e)

cannotDeserializeOperation

@Message(id=100,
         value="Cannot deserialize operation %1$s, unknown operation.")
SearchException cannotDeserializeOperation(String schema)

cannotDeserializeField

@Message(id=101,
         value="Cannot deserialize field type %1$s, unknown field type.")
SearchException cannotDeserializeField(String schema)

unableToSerializeInAvro

@Message(id=102,
         value="Unable to serialize Lucene works in Avro")
SearchException unableToSerializeInAvro(@Cause
                                                Throwable e)

unableToInitializeIndexManager

@Message(id=103,
         value="Unable to initialize IndexManager %1$s")
SearchException unableToInitializeIndexManager(String indexName,
                                                       @Cause
                                                       Throwable e)

ignoringBackendOptionForIndex

@LogMessage(level=WARN)
@Message(id=104,
         value="Ignoring backend option for index \'%1$s\', configured IndexManager requires using \'%2$s\' instead.")
void ignoringBackendOptionForIndex(String indexName,
                                                      String forcedBackend)

cannotGetResultSizeWithCriteriaAndRestriction

@Message(id=105,
         value="Cannot safely compute getResultSize() when a Criteria with restriction is used. Use query.list().size() or query.getResultList().size(). Criteria at stake: %1$s")
SearchException cannotGetResultSizeWithCriteriaAndRestriction(String criteria)

fieldLooksBinaryButDecompressionFailed

@Message(id=106,
         value="Field %1$s looks like binary but couldn\'t be decompressed")
SearchException fieldLooksBinaryButDecompressionFailed(String fieldName)

requestedIndexNotDefined

@Message(id=107,
         value="Index names %1$s is not defined")
SearchException requestedIndexNotDefined(String indexName)

shuttingDownBackend

@LogMessage(level=DEBUG)
@Message(id=108,
         value="Shutting down backend for IndexManager \'%1$s\'")
void shuttingDownBackend(String indexName)

notAnIndexedType

@Message(id=109,
         value="%1$s is not an indexed type")
IllegalArgumentException notAnIndexedType(String entityName)

nullIsInvalidIndexedType

@Message(id=110,
         value="\'null\' is not a valid indexed type")
IllegalArgumentException nullIsInvalidIndexedType()

needAtLeastOneIndexName

@Message(id=111,
         value="At least one index name must be provided: can\'t open an IndexReader on nothing")
IllegalArgumentException needAtLeastOneIndexName()

needAtLeastOneIndexedEntityType

@Message(id=112,
         value="At least one entity type must be provided: can\'t open an IndexReader on nothing")
IllegalArgumentException needAtLeastOneIndexedEntityType()

nullIsInvalidIndexName

@Message(id=113,
         value="\'null\' is not a valid index name")
IllegalArgumentException nullIsInvalidIndexName()

unableToLoadResource

@Message(id=114,
         value="Could not load resource: \'%1$s\'")
SearchException unableToLoadResource(String fileName)

unknownFullTextFilter

@Message(id=115,
         value="Unknown @FullTextFilter: \'%1$s\'")
SearchException unknownFullTextFilter(String filterName)

massIndexerUnexpectedErrorMessage

@Message(id=116,
         value="Unexpected error during MassIndexer operation")
String massIndexerUnexpectedErrorMessage()

ioExceptionOnIndexWriter

@Message(id=117,
         value="IOException on the IndexWriter")
String ioExceptionOnIndexWriter()

exceptionDuringIndexMergeOperation

@Message(id=118,
         value="Exception during index Merge operation")
String exceptionDuringIndexMergeOperation()

optimizationSkippedStillBusy

@LogMessage(level=DEBUG)
@Message(id=119,
         value="Skipping optimization on index %1$s as it is already being optimized")
void optimizationSkippedStillBusy(String indexName)

inconsistentFieldConfiguration

@LogMessage(level=WARN)
@Message(id=120,
         value="There are multiple properties indexed against the same field name \'%1$s\', but with different indexing settings. The behaviour is undefined.")
void inconsistentFieldConfiguration(String fieldName)

unableConnectingToJGroupsCluster

@Message(id=121,
         value="Unable to connect to: [%1$s] JGroups channel")
SearchException unableConnectingToJGroupsCluster(String clusterName,
                                                         @Cause
                                                         Throwable e)

unableToStartJGroupsChannel

@Message(id=122,
         value="Unable to start JGroups channel")
SearchException unableToStartJGroupsChannel(@Cause
                                                    Throwable e)

unableToSendWorkViaJGroups

@Message(id=123,
         value="Unable to send Lucene update work via JGroups cluster")
SearchException unableToSendWorkViaJGroups(@Cause
                                                   Throwable e)

massIndexerIndexWriterThreadsIgnored

@LogMessage(level=WARN)
@Message(id=124,
         value="The option \'threadsForIndexWriter\' of the MassIndexer is deprecated and is being ignored! Control the size of worker.thread_pool.size for each index instead.")
void massIndexerIndexWriterThreadsIgnored()

forceSkipIndexOperationViaInterception

@LogMessage(level=TRACE)
@Message(id=125,
         value="Interceptor enforces skip index operation %2$s on instance of class %1$s")
void forceSkipIndexOperationViaInterception(Class<?> entityClass,
                                                               WorkType type)

forceRemoveOnIndexOperationViaInterception

@LogMessage(level=TRACE)
@Message(id=126,
         value="Interceptor enforces removal of index data instead of index operation %2$s on instance of class %1$s")
void forceRemoveOnIndexOperationViaInterception(Class<?> entityClass,
                                                                   WorkType type)

forceUpdateOnIndexOperationViaInterception

@LogMessage(level=TRACE)
@Message(id=128,
         value="Interceptor enforces update of index data instead of index operation %2$s on instance of class %1$s")
void forceUpdateOnIndexOperationViaInterception(Class<?> entityClass,
                                                                   WorkType type)

jGroupsChannelInjectionError

@Message(id=129,
         value="Object injected for JGroups channel in hibernate.search.services.jgroups.providedChannel is of an unexpected type %1$s (expecting org.jgroups.JChannel)")
SearchException jGroupsChannelInjectionError(@Cause
                                                     Exception e,
                                                     Class<?> actualType)

legacyJGroupsConfigurationDefined

@Message(id=130,
         value="JGroups channel configuration should be specified in the global section [hibernate.search.services.jgroups.], not as an IndexManager property for index \'%1$s\'. See http://docs.jboss.org/hibernate/search/4.1/reference/en-US/html_single/#jgroups-backend")
SearchException legacyJGroupsConfigurationDefined(String indexName)


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved