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

@MessageLogger(projectCode="HSEARCH") @ValidIdRanges(@ValidIdRange(min=400000,max=408999)) public interface Log extends BasicLogger
  • Field Details

  • Method Details

    • elasticsearchRequestFailed

      @Message(id=400007, value="Elasticsearch request failed: %3$s\nRequest: %1$s\nResponse: %2$s") SearchException elasticsearchRequestFailed(@FormatWith(ElasticsearchRequestFormatter.class) ElasticsearchRequest request, @FormatWith(ElasticsearchResponseFormatter.class) ElasticsearchResponse response, String causeMessage, @Cause Exception cause)
    • elasticsearchBulkedRequestFailed

      @Message(id=400008, value="Elasticsearch bulked request failed: %3$s\nRequest metadata: %1$sResponse: %2$s") SearchException elasticsearchBulkedRequestFailed(@FormatWith(ElasticsearchJsonObjectFormatter.class) com.google.gson.JsonObject requestMetadata, @FormatWith(ElasticsearchJsonObjectFormatter.class) com.google.gson.JsonObject response, String causeMessage, @Cause Exception cause)
    • elasticsearchStatus408RequestTimeout

      @Message(id=400010, value="Elasticsearch response indicates a timeout (HTTP status 408)") SearchException elasticsearchStatus408RequestTimeout()
    • elasticsearchMappingUpdateFailed

      @Message(id=400020, value="Unable to update mapping for index \'%1$s\': %2$s") SearchException elasticsearchMappingUpdateFailed(String indexName, String causeMessage, @Cause Exception cause)
    • invalidIndexStatus

      @Message(id=400022, value="Invalid index status: \'%1$s\'. Valid statuses are: %2$s.") SearchException invalidIndexStatus(String invalidRepresentation, List<String> validRepresentations)
    • unexpectedIndexStatus

      @Message(id=400024, value="Index \'%1$s\' failed to reach status \'%2$s\' after %3$sms.") SearchException unexpectedIndexStatus(URLEncodedString indexName, String expected, int requiredStatusTimeoutInMs, @Cause Exception cause)
    • elasticsearchIndexMetadataRetrievalFailed

      @Message(id=400034, value="Unable to retrieve index metadata from Elasticsearch: %1$s") SearchException elasticsearchIndexMetadataRetrievalFailed(String causeMessage, @Cause Throwable cause)
    • schemaUpdateFailed

      @Message(id=400035, value="Unable to update schema for index \'%1$s\': %2$s") SearchException schemaUpdateFailed(URLEncodedString indexName, String causeMessage, @Cause Exception cause)
    • indexMissing

      @Message(id=400050, value="Missing index: index names [%1$s, %2$s] do not point to any index in the Elasticsearch cluster.") SearchException indexMissing(URLEncodedString write, URLEncodedString read)
    • executingElasticsearchQuery

      @LogMessage(level=TRACE) @Message(id=400053, value="Executing Elasticsearch query on \'%s\' with parameters \'%s\': <%s>") void executingElasticsearchQuery(String path, Map<String,String> parameters, String bodyParts)
    • tokenizerNamingConflict

      @Message(id=400055, value="Duplicate tokenizer definitions: \'%1$s\'. Tokenizer names must be unique.") SearchException tokenizerNamingConflict(String remoteName)
    • charFilterNamingConflict

      @Message(id=400056, value="Duplicate char filter definitions: \'%1$s\'. Char filter names must be unique.") SearchException charFilterNamingConflict(String remoteName)
    • tokenFilterNamingConflict

      @Message(id=400057, value="Duplicate token filter definitions: \'%1$s\'. Token filter names must be unique.") SearchException tokenFilterNamingConflict(String remoteName)
    • elasticsearchSettingsUpdateFailed

      @Message(id=400067, value="Unable to update settings for index \'%1$s\': %2$s") SearchException elasticsearchSettingsUpdateFailed(Object indexName, String causeMessage, @Cause Exception cause)
    • closedIndex

      @LogMessage(level=INFO) @Message(id=400069, value="Closed Elasticsearch index \'%1$s\' automatically.") void closedIndex(Object indexName)
    • openedIndex

      @LogMessage(level=INFO) @Message(id=400070, value="Opened Elasticsearch index \'%1$s\' automatically.") void openedIndex(Object indexName)
    • usingPasswordOverHttp

      @LogMessage(level=WARN) @Message(id=400073, value="Hibernate Search will connect to Elasticsearch with authentication over plain HTTP (not HTTPS). The password will be sent in clear text over the network.") void usingPasswordOverHttp()
    • unableToApplyAnalysisConfiguration

      @Message(id=400075, value="Unable to apply analysis configuration: %1$s") SearchException unableToApplyAnalysisConfiguration(String errorMessage, @Cause Exception e, @Param EventContext eventContext)
    • invalidElasticsearchAnalyzerDefinition

      @Message(id=400076, value="Invalid analyzer definition for name \'%1$s\'. Analyzer definitions must at least define the tokenizer.") SearchException invalidElasticsearchAnalyzerDefinition(String name)
    • invalidElasticsearchTokenizerDefinition

      @Message(id=400077, value="Invalid tokenizer definition for name \'%1$s\'. Tokenizer definitions must at least define the tokenizer type.") SearchException invalidElasticsearchTokenizerDefinition(String name)
    • invalidElasticsearchCharFilterDefinition

      @Message(id=400078, value="Invalid char filter definition for name \'%1$s\'. Char filter definitions must at least define the char filter type.") SearchException invalidElasticsearchCharFilterDefinition(String name)
    • invalidElasticsearchTokenFilterDefinition

      @Message(id=400079, value="Invalid token filter definition for name \'%1$s\'. Token filter definitions must at least define the token filter type.") SearchException invalidElasticsearchTokenFilterDefinition(String name)
    • failedToDetectElasticsearchVersion

      @Message(id=400080, value="Unable to detect the Elasticsearch version running on the cluster: %s") SearchException failedToDetectElasticsearchVersion(String causeMessage, @Cause Exception e)
    • unsupportedElasticsearchVersion

      @Message(id=400081, value="Incompatible Elasticsearch version: \'%s\'. Refer to the documentation to know which versions of Elasticsearch are compatible with Hibernate Search.") SearchException unsupportedElasticsearchVersion(ElasticsearchVersion version)
    • executedRequestWithFailure

      @LogMessage(level=DEBUG) @Message(id=400082, value="Executed Elasticsearch HTTP %s request to \'%s\' with path \'%s\', query parameters %s and %d objects in payload in %dms. Response had status %d \'%s\'. Request body: <%s>. Response body: <%s>") void executedRequestWithFailure(String method, org.apache.http.HttpHost host, String path, Map<String,String> getParameters, int bodyParts, long timeInMs, int responseStatusCode, String responseStatusMessage, String requestBodyParts, String responseBody)
    • unknownElasticsearchVersion

      @LogMessage(level=WARN) @Message(id=400085, value="Unknown Elasticsearch version running on the cluster: \'%s\'. Hibernate Search may not work correctly. Consider updating to a newer version of Hibernate Search, if any.") void unknownElasticsearchVersion(ElasticsearchVersion version)
    • failedToParseElasticsearchResponse

      @Message(id=400089, value="Unable to parse Elasticsearch response. Status code was \'%1$d\', status phrase was \'%2$s\'. Nested exception: %3$s") SearchException failedToParseElasticsearchResponse(int statusCode, String statusPhrase, String causeMessage, @Cause Exception cause)
    • elasticsearchResponseIndicatesFailure

      @Message(id=400090, value="Elasticsearch response indicates a failure.") SearchException elasticsearchResponseIndicatesFailure()
    • executedRequest

      @LogMessage(level=TRACE) @Message(id=400093, value="Executed Elasticsearch HTTP %s request to \'%s\' with path \'%s\', query parameters %s and %d objects in payload in %dms. Response had status %d \'%s\'. Request body: <%s>. Response body: <%s>") void executedRequest(String method, org.apache.http.HttpHost host, String path, Map<String,String> getParameters, int bodyParts, long timeInMs, int responseStatusCode, String responseStatusMessage, String requestBodyParts, String responseBody)
    • cannotMixElasticsearchScopeWithOtherType

      @Message(id=400502, value="Invalid multi-index scope: a scope cannot span both a Elasticsearch index and another type of index. Base scope: \'%1$s\', incompatible (Elasticsearch) index: \'%2$s\'.") SearchException cannotMixElasticsearchScopeWithOtherType(IndexScopeBuilder baseScope, ElasticsearchIndexManager elasticsearchIndex, @Param EventContext context)
    • cannotMixElasticsearchScopeWithOtherBackend

      @Message(id=400503, value="Invalid multi-index scope: a scope cannot span multiple Elasticsearch backends. Base scope: \'%1$s\', incompatible index (from another backend): \'%2$s\'.") SearchException cannotMixElasticsearchScopeWithOtherBackend(IndexScopeBuilder baseScope, ElasticsearchIndexManager indexFromOtherBackend, @Param EventContext context)
    • elasticsearchExtensionOnUnknownType

      @Message(id=400506, value="Invalid target for Elasticsearch extension: \'%1$s\'. This extension can only be applied to components created by an Elasticsearch backend.") SearchException elasticsearchExtensionOnUnknownType(Object context)
    • cannotMixElasticsearchSearchQueryWithOtherPredicates

      @Message(id=400508, value="Invalid search predicate: \'%1$s\'. You must build the predicate from an Elasticsearch search scope.") SearchException cannotMixElasticsearchSearchQueryWithOtherPredicates(SearchPredicate predicate)
    • cannotMixElasticsearchSearchSortWithOtherSorts

      @Message(id=400511, value="Invalid search sort: \'%1$s\'. You must build the sort from an Elasticsearch search scope.") SearchException cannotMixElasticsearchSearchSortWithOtherSorts(SearchSort sort)
    • invalidMultiTenancyStrategyName

      @Message(id=400515, value="Invalid multi-tenancy strategy name: \'%1$s\'. Valid names are: %2$s.") SearchException invalidMultiTenancyStrategyName(String invalidRepresentation, List<String> validRepresentations)
    • tenantIdProvidedButMultiTenancyDisabled

      @Message(id=400516, value="Invalid tenant identifiers: \'%1$s\'. No tenant identifier is expected, because multi-tenancy is disabled for this backend.") SearchException tenantIdProvidedButMultiTenancyDisabled(Set<String> tenantIds, @Param EventContext context)
    • multiTenancyEnabledButNoTenantIdProvided

      @Message(id=400517, value="Missing tenant identifier. A tenant identifier is expected, because multi-tenancy is enabled for this backend.") SearchException multiTenancyEnabledButNoTenantIdProvided(@Param EventContext context)
    • clientUnwrappingWithUnkownType

      @Message(id=400518, value="Invalid requested type for client: \'%1$s\'. The Elasticsearch low-level client can only be unwrapped to \'%2$s\'.") SearchException clientUnwrappingWithUnkownType(@FormatWith(ClassFormatter.class) Class<?> requestedClass, @FormatWith(ClassFormatter.class) Class<?> actualClass)
    • backendUnwrappingWithUnknownType

      @Message(id=400519, value="Invalid requested type for this backend: \'%1$s\'. Elasticsearch backends can only be unwrapped to \'%2$s\'.") SearchException backendUnwrappingWithUnknownType(@FormatWith(ClassFormatter.class) Class<?> requestedClass, @FormatWith(ClassFormatter.class) Class<?> actualClass, @Param EventContext context)
    • indexSchemaNodeNameConflict

      @Message(id=400520, value="Duplicate index field definition: \'%1$s\'. Index field names must be unique. Look for two property mappings with the same field name, or two indexed-embeddeds with prefixes that lead to conflicting index field names, or two custom bridges declaring index fields with the same name.") SearchException indexSchemaNodeNameConflict(String name, @Param EventContext context)
    • invalidFieldForDocumentElement

      @Message(id=400525, value="Invalid field reference for this document element: this document element has path \'%1$s\', but the referenced field has a parent with path \'%2$s\'.") SearchException invalidFieldForDocumentElement(String expectedPath, String actualPath)
    • elasticsearchResponseMissingData

      @Message(id=400526, value="Missing data in the Elasticsearch response.") AssertionFailure elasticsearchResponseMissingData()
    • minimumShouldMatchConflictingConstraints

      @Message(id=400529, value="Multiple conflicting minimumShouldMatch constraints for ceiling \'%1$s\'") SearchException minimumShouldMatchConflictingConstraints(int ceiling)
    • conflictingIndexNames

      @Message(id=400530, value="Conflicting index names: Hibernate Search indexes \'%1$s\' and \'%2$s\' both target the Elasticsearch index name or alias \'%3$s\'") SearchException conflictingIndexNames(String firstHibernateSearchIndexName, String secondHibernateSearchIndexName, String nameOrAlias)
    • elasticsearchResponseUnknownIndexName

      @Message(id=400531, value="Unable to resolve index name \'%1$s\' to an entity type: %2$s") SearchException elasticsearchResponseUnknownIndexName(String elasticsearchIndexName, String causeMessage, @Cause Exception e)
    • cannotConvertDslParameter

      @Message(id=400532, value="Unable to convert DSL argument: %1$s") SearchException cannotConvertDslParameter(String errorMessage, @Cause Exception cause, @Param EventContext context)
    • indexManagerUnwrappingWithUnknownType

      @Message(id=400533, value="Invalid requested type for this index manager: \'%1$s\'. Elasticsearch index managers can only be unwrapped to \'%2$s\'.") SearchException indexManagerUnwrappingWithUnknownType(@FormatWith(ClassFormatter.class) Class<?> requestedClass, @FormatWith(ClassFormatter.class) Class<?> actualClass, @Param EventContext context)
    • invalidElasticsearchTypedAnalyzerDefinition

      @Message(id=400534, value="Invalid typed analyzer definition for name \'%1$s\'. Typed analyzer definitions must at least define the analyzer type.") SearchException invalidElasticsearchTypedAnalyzerDefinition(String name)
    • cannotApplyAnalyzerAndNormalizer

      @Message(id=400535, value="Invalid index field type: both analyzer \'%1$s\' and normalizer \'%2$s\' are assigned to this type. Either an analyzer or a normalizer can be assigned, but not both.") SearchException cannotApplyAnalyzerAndNormalizer(String analyzerName, String normalizerName, @Param EventContext context)
    • cannotUseAnalyzerOnSortableField

      @Message(id=400536, value="Invalid index field type: both analyzer \'%1$s\' and sorts are enabled. Sorts are not supported on analyzed fields. If you need an analyzer simply to transform the text (lowercasing, ...) without splitting it into tokens, use a normalizer instead. If you need an actual analyzer (with tokenization), define two separate fields: one with an analyzer that is not sortable, and one with a normalizer that is sortable.") SearchException cannotUseAnalyzerOnSortableField(String analyzerName, @Param EventContext context)
    • analysisComponentParameterConflict

      @Message(id=400537, value="Ambiguous value for parameter \'%1$s\': this parameter is set to two different values \'%2$s\' and \'%3$s\'.") SearchException analysisComponentParameterConflict(String name, com.google.gson.JsonElement value1, com.google.gson.JsonElement value2)
    • cannotMixElasticsearchSearchQueryWithOtherProjections

      @Message(id=400538, value="Invalid search projection: \'%1$s\'. You must build the projection from an Elasticsearch search scope.") SearchException cannotMixElasticsearchSearchQueryWithOtherProjections(SearchProjection<?> projection)
    • unableToShutdownClient

      @Message(id=400544, value="Unable to shut down the Elasticsearch client: %1$s") SearchException unableToShutdownClient(String causeMessage, @Cause Exception cause)
    • cannotGuessFieldType

      @Message(id=400545, value="No built-in index field type for class: \'%1$s\'.") SearchException cannotGuessFieldType(@FormatWith(ClassFormatter.class) Class<?> inputType, @Param EventContext context)
    • fullTextFeaturesNotSupportedByFieldType

      @Message(id=400553, value="Full-text features (analysis, fuzziness, minimum should match) are not supported for fields of this type.") SearchException fullTextFeaturesNotSupportedByFieldType(@Param EventContext context)
    • incompleteFieldDefinition

      @Message(id=400554, value="Incomplete field definition. You must call toReference() to complete the field definition.") SearchException incompleteFieldDefinition(@Param EventContext context)
    • cannotCreateReferenceMultipleTimes

      @Message(id=400555, value="Multiple calls to toReference() for the same field definition. You must call toReference() exactly once.") SearchException cannotCreateReferenceMultipleTimes(@Param EventContext context)
    • invalidElasticsearchVersionWithoutDistribution

      @Message(id=400556, value="Invalid Elasticsearch version: \'%1$s\'. Expected format is \'x.y.z-qualifier\', where \'x\', \'y\' and \'z\' are integers, and \'qualifier\' is an string of word characters (alphanumeric or \'_\'). Incomplete versions are allowed, for example \'7.0\' or just \'7\'.") SearchException invalidElasticsearchVersionWithoutDistribution(String invalidRepresentation, @Cause Throwable cause)
    • invalidElasticsearchVersionWithOptionalDistribution

      @Message(id=400557, value="Invalid Elasticsearch version: \'%1$s\'. Expected format is \'x.y.z-qualifier\' or \'<distribution>:x.y.z-qualifier\' or just \'<distribution>\', where \'<distribution>\' is one of %2$s (defaults to \'%3$s\'), \'x\', \'y\' and \'z\' are integers, and \'qualifier\' is an string of word characters (alphanumeric or \'_\'). Incomplete versions are allowed, for example \'elastic:7.0\', \'7.0\' or just \'7\'. Note that the format \'<distribution>\' without a version number is only useful for distributions that don\'t support version numbers, such as Amazon OpenSearch Serverless.") SearchException invalidElasticsearchVersionWithOptionalDistribution(String invalidRepresentation, List<String> validDistributions, String defaultDistribution, @Cause Throwable cause)
    • invalidElasticsearchDistributionName

      @Message(id=400558, value="Invalid Elasticsearch distribution name: \'%1$s\'. Valid names are: %2$s.") SearchException invalidElasticsearchDistributionName(String invalidRepresentation, List<String> validRepresentations)
    • unexpectedElasticsearchVersion

      @Message(id=400559, value="Unexpected Elasticsearch version running on the cluster: \'%2$s\'. Hibernate Search was configured for Elasticsearch \'%1$s\'.") SearchException unexpectedElasticsearchVersion(ElasticsearchVersion configuredVersion, ElasticsearchVersion actualVersion)
    • skipAnalysisOnNormalizedField

      @Message(id=400560, value="Cannot skip analysis on field \'%1$s\': the Elasticsearch backend will always normalize arguments before attempting matches on normalized fields.") SearchException skipAnalysisOnNormalizedField(String absoluteFieldPath, @Param EventContext context)
    • cannotUseIndexNullAsAndAnalyzer

      @Message(id=400562, value="Invalid index field type: both null token \'%2$s\' (\'indexNullAs\') and analyzer \'%1$s\' are assigned to this type. \'indexNullAs\' is not supported on analyzed fields.") SearchException cannotUseIndexNullAsAndAnalyzer(String analyzerName, String indexNullAs, @Param EventContext context)
    • multipleValuesForSingleValuedField

      @Message(id=400563, value="Multiple values assigned to field \'%1$s\': this field is single-valued. Declare the field as multi-valued in order to allow this.") SearchException multipleValuesForSingleValuedField(String absolutePath)
    • explainRequiresTypeName

      @Message(id=400564, value="Invalid use of explain(Object id) on a query targeting multiple types. Use explain(String typeName, Object id) and pass one of %1$s as the type name.") SearchException explainRequiresTypeName(Set<String> targetedTypeNames)
    • explainRequiresTypeTargetedByQuery

      @Message(id=400565, value="Invalid mapped type name: \'%2$s\'. This type is not among the mapped types targeted by this query: %1$s.") SearchException explainRequiresTypeTargetedByQuery(Set<String> targetedTypeNames, String typeName)
    • explainUnknownDocument

      @Message(id=400566, value="Invalid document identifier: \'%2$s\'. No such document in index \'%1$s\'.") SearchException explainUnknownDocument(URLEncodedString indexName, URLEncodedString id)
    • nullDecimalScale

      @Message(id=400567, value="Invalid index field type: missing decimal scale. Define the decimal scale explicitly. %1$s") SearchException nullDecimalScale(String hint, @Param EventContext eventContext)
    • scaledNumberTooLarge

      @Message(id=400569, value="Unable to encode value \'%1$s\': this field type only supports values ranging from \'%2$s\' to \'%3$s\'. If you want to encode values that are outside this range, change the decimal scale for this field. Do not forget to reindex all your data after changing the decimal scale.") SearchException scaledNumberTooLarge(Number value, Number min, Number max)
    • invalidDecimalScale

      @Message(id=400570, value="Invalid index field type: decimal scale \'%1$s\' is positive. The decimal scale of BigInteger fields must be zero or negative.") SearchException invalidDecimalScale(Integer decimalScale, @Param EventContext eventContext)
    • predicateDefinedOnDifferentIndexes

      @Message(id=400572, value="Invalid search predicate: \'%1$s\'. You must build the predicate from a scope targeting indexes %3$s or a superset of them, but the given predicate was built from a scope targeting indexes %2$s, where indexes %4$s are missing.") SearchException predicateDefinedOnDifferentIndexes(SearchPredicate predicate, Set<String> predicateIndexes, Set<String> scopeIndexes, Set<String> scopeDifference)
    • sortDefinedOnDifferentIndexes

      @Message(id=400573, value="Invalid search sort: \'%1$s\'. You must build the sort from a scope targeting indexes %3$s or a superset of them, but the given sort was built from a scope targeting indexes %2$s, where indexes %4$s are missing.") SearchException sortDefinedOnDifferentIndexes(SearchSort sort, Set<String> sortIndexes, Set<String> scopeIndexes, Set<String> scopeDifference)
    • projectionDefinedOnDifferentIndexes

      @Message(id=400574, value="Invalid search projection: \'%1$s\'. You must build the projection from a scope targeting indexes %3$s or a superset of them, but the given projection was built from a scope targeting indexes %2$s, where indexes %4$s are missing.") SearchException projectionDefinedOnDifferentIndexes(SearchProjection<?> projection, Set<String> projectionIndexes, Set<String> scopeIndexes, Set<String> scopeDifference)
    • cannotUseAnalyzerOnAggregableField

      @Message(id=400576, value="Invalid index field type: both analyzer \'%1$s\' and aggregations are enabled. Aggregations are not supported on analyzed fields. If you need an analyzer simply to transform the text (lowercasing, ...) without splitting it into tokens, use a normalizer instead. If you need an actual analyzer (with tokenization), define two separate fields: one with an analyzer that is not aggregable, and one with a normalizer that is aggregable.") SearchException cannotUseAnalyzerOnAggregableField(String analyzerName, @Param EventContext context)
    • elasticsearchRangeAggregationRequiresCanonicalFormForRanges

      @Message(id=400580, value="Invalid range: \'%1$s\'. Elasticsearch range aggregations only accept ranges in the canonical form: (-Infinity, <value>) or [<value1>, <value2>) or [<value>, +Infinity). Call Range.canonical(...) to be sure to create such a range.") SearchException elasticsearchRangeAggregationRequiresCanonicalFormForRanges(Range<?> range)
    • cannotMixElasticsearchSearchQueryWithOtherAggregations

      @Message(id=400581, value="Invalid search aggregation: \'%1$s\'. You must build the aggregation from an Elasticsearch search scope.") SearchException cannotMixElasticsearchSearchQueryWithOtherAggregations(SearchAggregation<?> aggregation)
    • aggregationDefinedOnDifferentIndexes

      @Message(id=400582, value="Invalid search aggregation: \'%1$s\'. You must build the aggregation from a scope targeting indexes %3$s or a superset of them, but the given aggregation was built from a scope targeting indexes %2$s, where indexes %4$s are missing.") SearchException aggregationDefinedOnDifferentIndexes(SearchAggregation<?> aggregation, Set<String> aggregationIndexes, Set<String> scopeIndexes, Set<String> scopeDifference)
    • duplicateAggregationKey

      @Message(id=400585, value="Duplicate aggregation definitions for key: \'%1$s\'") SearchException duplicateAggregationKey(@FormatWith(AggregationKeyFormatter.class) AggregationKey<?> key)
    • searchAnalyzerWithoutAnalyzer

      @Message(id=400587, value="Invalid index field type: search analyzer \'%1$s\' is assigned to this type, but the indexing analyzer is missing. Assign an indexing analyzer and a search analyzer, or remove the search analyzer.") SearchException searchAnalyzerWithoutAnalyzer(String searchAnalyzer, @Param EventContext context)
    • elasticsearchFailedBecauseOfBulkFailure

      @Message(id=400588, value="Call to the bulk REST API failed: %1$s") SearchException elasticsearchFailedBecauseOfBulkFailure(String causeMessage, @Cause Throwable cause)
    • invalidHostAndPort

      @Message(id=400589, value="Invalid host/port: \'%1$s\'. The host/port string must use the format \'host:port\', for example \'mycompany.com:9200\' The URI scheme (\'http://\', \'https://\') must not be included.") SearchException invalidHostAndPort(String hostAndPort, @Cause Exception e)
    • requestTimedOut

      @Message(id=400590, value="Request execution exceeded the timeout of %1$s. Request was %2$s") SearchTimeoutException requestTimedOut(@FormatWith(DurationInSecondsAndFractionsFormatter.class) Duration timeout, @FormatWith(ElasticsearchRequestFormatter.class) ElasticsearchRequest request)
    • invalidTypeNameMappingStrategyName

      @Message(id=400591, value="Invalid name for the type-name mapping strategy: \'%1$s\'. Valid names are: %2$s.") SearchException invalidTypeNameMappingStrategyName(String invalidRepresentation, List<String> validRepresentations)
    • missingTypeFieldInDocument

      @Message(id=400592, value="Missing field \'%1$s\' for one of the search hits. The document was probably indexed with a different configuration: full reindexing is necessary.") SearchException missingTypeFieldInDocument(String fieldName)
    • elasticsearchIndexNameAndAliasesMatchMultipleIndexes

      @Message(id=400593, value="Invalid Elasticsearch index layout: index names [%1$s, %2$s] resolve to multiple distinct indexes %3$s. These names must resolve to a single index.") SearchException elasticsearchIndexNameAndAliasesMatchMultipleIndexes(URLEncodedString write, URLEncodedString read, Set<String> matchingIndexes)
    • invalidIndexPrimaryName

      @Message(id=400594, value="Invalid Elasticsearch index layout: primary (non-alias) name for existing Elasticsearch index \'%1$s\' does not match the expected pattern \'%2$s\'.") SearchException invalidIndexPrimaryName(String elasticsearchIndexName, Pattern pattern)
    • invalidIndexUniqueKey

      @Message(id=400595, value="Invalid Elasticsearch index layout: unique key \'%1$s\' extracted from the index name does not match any of %2$s.") SearchException invalidIndexUniqueKey(String uniqueKey, Set<String> knownKeys)
    • sameWriteAndReadAliases

      @Message(id=400596, value="Invalid Elasticsearch index layout: the write alias and read alias are set to the same value: \'%1$s\'. The write alias and read alias must be different.") SearchException sameWriteAndReadAliases(URLEncodedString writeAndReadAlias)
    • impreciseElasticsearchVersionWhenVersionCheckDisabled

      @Message(id=400597, value="Missing or imprecise Elasticsearch version: configuration property \'%1$s\' is set to \'false\', so you must set the version explicitly with at least as much precision as \'x.y\', where \'x\' and \'y\' are integers.") SearchException impreciseElasticsearchVersionWhenVersionCheckDisabled(String versionCheckPropertyKey)
    • lifecycleStrategyMovedToMapper

      @Message(id=400598, value="The lifecycle strategy cannot be set at the index level anymore. Set the schema management strategy via the property \'hibernate.search.schema_management.strategy\' instead.") SearchException lifecycleStrategyMovedToMapper()
    • invalidSortModeAcrossNested

      @Message(id=400600, value="Invalid sort mode: %1$s. This sort mode is not supported for fields in nested documents.") SearchException invalidSortModeAcrossNested(SortMode mode, @Param EventContext context)
    • invalidSortModeForStringField

      @Message(id=400601, value="Invalid sort mode: %1$s. This sort mode is not supported for String fields. Only MIN and MAX are supported.") SearchException invalidSortModeForStringField(SortMode mode, @Param EventContext context)
    • invalidSortModeForTemporalField

      @Message(id=400602, value="Invalid sort mode: %1$s. This sort mode is not supported for temporal fields. Only MIN, MAX, AVG and MEDIAN are supported.") SearchException invalidSortModeForTemporalField(SortMode mode, @Param EventContext context)
    • invalidSortModeForDistanceSort

      @Message(id=400603, value="Invalid sort mode: %1$s. This sort mode is not supported for a distance sort. Only MIN, MAX, AVG and MEDIAN are supported.") SearchException invalidSortModeForDistanceSort(SortMode mode, @Param EventContext context)
    • cannotFilterSortOnRootDocumentField

      @Message(id=400604, value="Invalid sort filter: field \'%1$s\' is not contained in a nested object. Sort filters are only available if the field to sort on is contained in a nested object.") SearchException cannotFilterSortOnRootDocumentField(String absoluteFieldPath, @Param EventContext context)
    • invalidNestedObjectPathForPredicate

      @Message(id=400605, value="Invalid search predicate: %1$s. This predicate targets fields %3$s, but only fields that are contained in the nested object with path \'%2$s\' are allowed here.") SearchException invalidNestedObjectPathForPredicate(SearchPredicate predicate, String nestedObjectPath, List<String> fieldPaths)
    • cannotFilterAggregationOnRootDocumentField

      @Message(id=400606, value="Invalid aggregation filter: field \'%1$s\' is not contained in a nested object. Aggregation filters are only available if the field to aggregate on is contained in a nested object.") SearchException cannotFilterAggregationOnRootDocumentField(String absoluteFieldPath, @Param EventContext context)
    • indexSchemaFieldTemplateNameConflict

      @Message(id=400607, value="Duplicate index field template definition: \'%1$s\'. Multiple bridges may be trying to access the same index field template, or two indexed-embeddeds may have prefixes that lead to conflicting field names, or you may have declared multiple conflicting mappings. In any case, there is something wrong with your mapping and you should fix it.") SearchException indexSchemaFieldTemplateNameConflict(String name, @Param EventContext context)
    • invalidFieldValueType

      @Message(id=400608, value="Invalid value type. This field\'s values are of type \'%1$s\', which is not assignable from \'%2$s\'.") SearchException invalidFieldValueType(@FormatWith(ClassFormatter.class) Class<?> fieldValueType, @FormatWith(ClassFormatter.class) Class<?> invalidValueType, @Param EventContext context)
    • unknownFieldForIndexing

      @Message(id=400609, value="Unknown field \'%1$s\'.") SearchException unknownFieldForIndexing(String absoluteFieldPath, @Param EventContext context)
    • invalidSingleValuedProjectionOnMultiValuedField

      @Message(id=400613, value="Invalid cardinality for projection on field \'%1$s\': the projection is single-valued, but this field is multi-valued. Make sure to call \'.multi()\' when you create the projection.") SearchException invalidSingleValuedProjectionOnMultiValuedField(String absolutePath, @Param EventContext context)
    • differentImplementationClassForQueryElement

      @Message(id=400617, value="Implementation class differs: \'%1$s\' vs. \'%2$s\'.") SearchException differentImplementationClassForQueryElement(@FormatWith(ClassFormatter.class) Class<?> class1, @FormatWith(ClassFormatter.class) Class<?> class2)
    • differentFieldCodecForQueryElement

      @Message(id=400618, value="Field codec differs: \'%1$s\' vs. \'%2$s\'.") SearchException differentFieldCodecForQueryElement(Object codec1, Object codec2)
    • invalidDynamicType

      @Message(id=400621, value="Invalid dynamic type: \'%1$s\'. Valid values are: %2$s.") SearchException invalidDynamicType(String invalidRepresentation, List<String> validRepresentations)
    • elasticsearchAliasUpdateFailed

      @Message(id=400625, value="Unable to update aliases for index \'%1$s\': %2$s") SearchException elasticsearchAliasUpdateFailed(Object indexName, String causeMessage, @Cause Exception cause)
    • uriAndProtocol

      @Message(id=400626, value="Invalid target hosts configuration: both the \'uris\' property and the \'protocol\' property are set. Uris: \'%1$s\'. Protocol: \'%2$s\'. Either set the protocol and hosts simultaneously using the \'uris\' property, or set them separately using the \'protocol\' property and the \'hosts\' property.") SearchException uriAndProtocol(List<String> uris, String protocol)
    • uriAndHosts

      @Message(id=400627, value="Invalid target hosts configuration: both the \'uris\' property and the \'hosts\' property are set. Uris: \'%1$s\'. Hosts: \'%2$s\'. Either set the protocol and hosts simultaneously using the \'uris\' property, or set them separately using the \'protocol\' property and the \'hosts\' property.") SearchException uriAndHosts(List<String> uris, List<String> hosts)
    • differentProtocolsOnUris

      @Message(id=400628, value="Invalid target hosts configuration: the \'uris\' use different protocols (http, https). All URIs must use the same protocol. Uris: \'%1$s\'.") SearchException differentProtocolsOnUris(List<String> uris)
    • emptyListOfHosts

      @Message(id=400629, value="Invalid target hosts configuration: the list of hosts must not be empty.") SearchException emptyListOfHosts()
    • emptyListOfUris

      @Message(id=400630, value="Invalid target hosts configuration: the list of URIs must not be empty.") SearchException emptyListOfUris()
    • customIndexSettingsFileNotFound

      @Message(id=400631, value="Unable to find the given custom index settings file: \'%1$s\'.") SearchException customIndexSettingsFileNotFound(String filePath, @Param EventContext context)
    • customIndexSettingsErrorOnLoading

      @Message(id=400632, value="Error on loading the given custom index settings file \'%1$s\': %2$s") SearchException customIndexSettingsErrorOnLoading(String filePath, String causeMessage, @Cause Exception cause, @Param EventContext context)
    • customIndexSettingsJsonSyntaxErrors

      @Message(id=400633, value="There are some JSON syntax errors on the given custom index settings file \'%1$s\': %2$s") SearchException customIndexSettingsJsonSyntaxErrors(String filePath, String causeMessage, @Cause Exception cause, @Param EventContext context)
    • missingFirstOnAscSortNotSupported

      @Message(id=400634, value="Invalid use of \'missing().first()\' for an ascending distance sort. Elasticsearch always assumes missing values have a distance of \'+Infinity\', and this behavior cannot be customized.") SearchException missingFirstOnAscSortNotSupported(@Param EventContext context)
    • missingLastOnDescSortNotSupported

      @Message(id=400635, value="Invalid use of \'missing().last()\' for a descending distance sort. Elasticsearch always assumes missing values have a distance of \'+Infinity\', and this behavior cannot be customized.") SearchException missingLastOnDescSortNotSupported(@Param EventContext context)
    • missingAsOnSortNotSupported

      @Message(id=400636, value="Invalid use of \'missing().use(...)\' for a distance sort. Elasticsearch always assumes missing values have a distance of \'+Infinity\', and this behavior cannot be customized.") SearchException missingAsOnSortNotSupported(@Param EventContext context)
    • indexSchemaNamedPredicateNameConflict

      @Message(id=400637, value="The index schema named predicate \'%1$s\' was added twice.") SearchException indexSchemaNamedPredicateNameConflict(String relativeFilterName, @Param EventContext context)
    • differentPredicateDefinitionForQueryElement

      @Message(id=400638, value="Predicate definition differs: \'%1$s\' vs. \'%2$s\'.") SearchException differentPredicateDefinitionForQueryElement(Object predicateDefinition1, Object predicateDefinition2)
    • defaultedLimitedHits

      @LogMessage(level=WARN) @Message(id=400640, value="A search query fetching all hits was requested, but only \'%2$s\' hits were retrieved because the maximum result window size forces a limit of \'%1$s\' hits. Refer to Elasticsearch\'s \'max_result_window_size\' setting for more information.") void defaultedLimitedHits(Integer defaultLimit, long hitCount)
    • incompatibleElasticsearchVersionOnStart

      @Message(id=400641, value="Incompatible Elasticsearch version: version \'%2$s\' does not match version \'%1$s\' that was provided when the backend was created. You can provide a more precise version on startup, but you cannot override the version that was provided when the backend was created.") SearchException incompatibleElasticsearchVersionOnStart(ElasticsearchVersion versionOnCreation, ElasticsearchVersion versionOnStart)
    • multiTenancyRequiredButExplicitlyDisabledByBackend

      @Message(id=400648, value="Invalid backend configuration: mapping requires multi-tenancy but no multi-tenancy strategy is set.") SearchException multiTenancyRequiredButExplicitlyDisabledByBackend()
    • multiTenancyNotRequiredButExplicitlyEnabledByTheBackend

      @Message(id=400649, value="Invalid backend configuration: mapping requires single-tenancy but multi-tenancy strategy is set.") SearchException multiTenancyNotRequiredButExplicitlyEnabledByTheBackend()
    • paramNotDefined

      @Message(id=400650, value="Param with name \'%1$s\' has not been defined for the named predicate \'%2$s\'.") SearchException paramNotDefined(String name, String predicateName, @Param EventContext context)
    • customIndexMappingFileNotFound

      @Message(id=400651, value="Unable to find the given custom index mapping file: \'%1$s\'.") SearchException customIndexMappingFileNotFound(String filePath, @Param EventContext context)
    • customIndexMappingErrorOnLoading

      @Message(id=400652, value="Error on loading the given custom index mapping file \'%1$s\': %2$s") SearchException customIndexMappingErrorOnLoading(String filePath, String causeMessage, @Cause Exception cause, @Param EventContext context)
    • customIndexMappingJsonSyntaxErrors

      @Message(id=400653, value="There are some JSON syntax errors on the given custom index mapping file \'%1$s\': %2$s") SearchException customIndexMappingJsonSyntaxErrors(String filePath, String causeMessage, @Cause Exception cause, @Param EventContext context)
    • invalidContextForProjectionOnField

      @Message(id=400654, value="Invalid context for projection on field \'%1$s\': the surrounding projection is executed for each object in field \'%2$s\', which is not a parent of field \'%1$s\'. Check the structure of your projections.") SearchException invalidContextForProjectionOnField(String absolutePath, String objectFieldAbsolutePath)
    • invalidSingleValuedProjectionOnValueFieldInMultiValuedObjectField

      @Message(id=400655, value="Invalid cardinality for projection on field \'%1$s\': the projection is single-valued, but this field is effectively multi-valued in this context, because parent object field \'%2$s\' is multi-valued. Either call \'.multi()\' when you create the projection on field \'%1$s\', or wrap that projection in an object projection like this: \'f.object(\"%2$s\").from(<the projection on field %1$s>).as(...).multi()\'.") SearchException invalidSingleValuedProjectionOnValueFieldInMultiValuedObjectField(String absolutePath, String objectFieldAbsolutePath)
    • unexpectedMappedTypeNameForByMappedTypeProjection

      @Message(id=400656, value="Unexpected mapped type name extracted from hits: \'%1$s\'. Expected one of: %2$s. The document was probably indexed with a different configuration: full reindexing is necessary.") SearchException unexpectedMappedTypeNameForByMappedTypeProjection(String typeName, Set<String> expectedTypeNames)
    • unableToExportSchema

      @Message(id=400657, value="Unable to export the schema for \'%1$s\' index: %2$s") SearchException unableToExportSchema(String indexName, String message, @Cause IOException e)
    • missingLowestOnAscSortNotSupported

      @Message(id=400658, value="Invalid use of \'missing().lowest()\' for an ascending distance sort. Elasticsearch always assumes missing values have a distance of \'+Infinity\', and this behavior cannot be customized. ") SearchException missingLowestOnAscSortNotSupported(@Param EventContext context)
    • missingLowestOnDescSortNotSupported

      @Message(id=400659, value="Invalid use of \'missing().lowest()\' for a descending distance sort. Elasticsearch always assumes missing values have a distance of \'+Infinity\', and this behavior cannot be customized. ") SearchException missingLowestOnDescSortNotSupported(@Param EventContext context)
    • cannotMixElasticsearchSearchQueryWithOtherQueryHighlighters

      @Message(id=400660, value="Invalid highlighter: \'%1$s\'. You must build the highlighter from an Elasticsearch search scope.") SearchException cannotMixElasticsearchSearchQueryWithOtherQueryHighlighters(SearchHighlighter highlighter)
    • queryHighlighterDefinedOnDifferentIndexes

      @Message(id=400661, value="Invalid highlighter: \'%1$s\'. You must build the highlighter from a scope targeting indexes %3$s or a superset of them, but the given highlighter was built from a scope targeting indexes %2$s, where indexes %4$s are missing.") SearchException queryHighlighterDefinedOnDifferentIndexes(SearchHighlighter highlighter, Set<String> highlighterIndexes, Set<String> scopeIndexes, Set<String> scopeDifference)
    • noFieldsToHighlight

      @LogMessage(level=WARN) @Message(id=400662, value="No fields were added to be highlighted, but some query level highlighters were provided. These highlighters will be ignored.") void noFieldsToHighlight()
    • cannotFindHighlighter

      @Message(id=400663, value="Cannot find a highlighter with name \'%1$s\'. Available highlighters are: %2$s. Was it configured with `highlighter(\"%1$s\", highlighterContributor)`?") SearchException cannotFindHighlighter(String highlighterName, Set<String> highlighters)
    • highlighterNameCannotBeBlank

      @Message(id=400664, value="Named highlighters cannot use a blank string as name.") SearchException highlighterNameCannotBeBlank()
    • highlighterWithTheSameNameCannotBeAdded

      @Message(id=400665, value="Highlighter with name \'%1$s\' is already defined. Use a different name to add another highlighter.") SearchException highlighterWithTheSameNameCannotBeAdded(String highlighterName)
    • highlighterTypeNotSupported

      @Message(id=400666, value="\'%1$s\' highlighter type cannot be applied to \'%2$s\' field. \'%2$s\' must have either \'ANY\' or \'%1$s\' among the configured highlightable values.") SearchException highlighterTypeNotSupported(SearchHighlighterType type, String field)
    • unsupportedMixOfHighlightableValues

      @Message(id=400667, value="Cannot use \'NO\' in combination with other highlightable values. Applied values are: \'%1$s\'") SearchException unsupportedMixOfHighlightableValues(Set<Highlightable> highlightable)
    • termVectorDontAllowFastVectorHighlighter

      @Message(id=400668, value="The \'%1$s\' term vector storage strategy is not compatible with the fast vector highlighter. Either change the strategy to one of `WITH_POSITIONS_PAYLOADS`/`WITH_POSITIONS_OFFSETS_PAYLOADS` or remove the requirement for the fast vector highlighter support.") SearchException termVectorDontAllowFastVectorHighlighter(TermVector termVector)
    • noHighlightableProvided

      @Message(id=400669, value="Setting the `highlightable` attribute to an empty array is not supported. Set the value to `NO` if the field does not require the highlight projection.") SearchException noHighlightableProvided()
    • cannotHighlightInNestedContext

      @Message(id=400670, value="Highlight projection cannot be applied within nested context of \'%1$s\'.") SearchException cannotHighlightInNestedContext(String currentNestingField, @Param EventContext eventContext)
    • cannotHighlightFieldFromNestedObjectStructure

      @Message(id=400671, value="The highlight projection cannot be applied to a field from an object using `ObjectStructure.NESTED` structure.") SearchException cannotHighlightFieldFromNestedObjectStructure(@Param EventContext eventContext)
    • cannotUseProjectionInNestedContext

      @Message(id=400672, value="\'%1$s\' cannot be nested in an object projection. %2$s") SearchException cannotUseProjectionInNestedContext(String projection, String hint, @Param EventContext eventContext)
    • unableToFetchElasticsearchVersion

      @Message(id=400673, value="The targeted Elasticsearch cluster is reachable, but does not expose its version. Check that the configured Elasticsearch hosts/URI points to the right server. If you are targeting Amazon OpenSearch Serverless, you must set the configuration property \'%1$s\' explicitly to \'%2$s\'. See the reference documentation for more information.") SearchException unableToFetchElasticsearchVersion(String versionConfigPropertyKey, ElasticsearchVersion expectedAWSOpenSearchServerlessVersion)
    • cannotCheckElasticsearchVersion

      @Message(id=400674, value="Cannot check the Elasticsearch version because the targeted Elasticsearch distribution \'%s\' does not expose its version.") SearchException cannotCheckElasticsearchVersion(ElasticsearchDistributionName distributionName)
    • unexpectedAwsOpenSearchServerlessVersion

      @Message(id=400675, value="Unexpected Amazon OpenSearch Serverless version: \'%1$s\'. Amazon OpenSearch Serverless doesn\'t use version numbers. Set the version to simply \'%2$s\'.") SearchException unexpectedAwsOpenSearchServerlessVersion(ElasticsearchVersion configuredVersion, ElasticsearchVersion expectedAWSOpenSearchServerlessVersion)
    • cannotExecuteOperationOnAmazonOpenSearchServerless

      @Message(id=400676, value="Cannot execute \'%s\' because Amazon OpenSearch Serverless does not support this operation. Either avoid this operation or switch to another Elasticsearch/OpenSearch distribution.") SearchException cannotExecuteOperationOnAmazonOpenSearchServerless(String operation)
    • cannotRequireIndexStatus

      @Message(id=400677, value="The targeted Elasticsearch cluster does not expose index status, so index status requirements cannot be enforced.") SearchException cannotRequireIndexStatus()
    • cannotGuessVectorFieldType

      @Message(id=400678, value="No built-in vector index field type for class: \'%1$s\'.") SearchException cannotGuessVectorFieldType(@FormatWith(ClassFormatter.class) Class<?> inputType, @Param EventContext context)
    • nullVectorDimension

      @Message(id=400679, value="Invalid index field type: missing vector dimension. Define the vector dimension explicitly. %1$s") SearchException nullVectorDimension(String hint, @Param EventContext eventContext)
    • multiValuedFieldNotAllowed

      @Message(id=400680, value="Fields of this type cannot be multivalued.") SearchException multiValuedFieldNotAllowed(@Param EventContext context)
    • vectorKnnMatchVectorTypeDiffersFromField

      @Message(id=400681, value="Vector field \'%1$s\' is defined as a \'%2$s\' array. Matching against \'%3$s\' array is unsupported. Use the array of the same type as the vector field.") SearchException vectorKnnMatchVectorTypeDiffersFromField(String absoluteFieldPath, @FormatWith(ClassFormatter.class) Class<?> expected, @FormatWith(ClassFormatter.class) Class<?> actual)
    • vectorKnnMatchVectorDimensionDiffersFromField

      @Message(id=400682, value="Vector field \'%1$s\' is defined as a vector with \'%2$s\' dimensions (array length). Matching against an array with length of \'%3$s\' is unsupported. Use the array of the same size as the vector field.") SearchException vectorKnnMatchVectorDimensionDiffersFromField(String absoluteFieldPath, int expected, int actual)
    • searchBackendVersionIncompatibleWithVectorIntegration

      @Message(id=400685, value="The targeted %1$s version is not compatible with the Hibernate Search integration of vector search. To get vector search integration, upgrade your %1$s cluster to version %2$s or later, and if you configured the %1$s version in Hibernate Search, update it accordingly.") SearchException searchBackendVersionIncompatibleWithVectorIntegration(String distribution, String version)
    • knnRequiredMinimumSimilarityUnsupportedOption

      @Message(id=400687, value="An OpenSearch distribution does not allow specifying the `required minimum similarity` option. This option is only applicable to an Elastic distribution of an Elasticsearch backend.") SearchException knnRequiredMinimumSimilarityUnsupportedOption()
    • vectorSimilarityNotSupportedByOpenSearchBackend

      @Message(id=400688, value="The OpenSearch distribution does not allow using %1$s as a space type for a Lucene engine. Try using a different similarity type and refer to the OpenSearch documentation for more details.") SearchException vectorSimilarityNotSupportedByOpenSearchBackend(VectorSimilarity vectorSimilarity)
    • knnUsedInNestedContextRequiresFilters

      @LogMessage(level=WARN) @Message(id=400689, value="Using a knn predicate in the nested context when tenant or routing filters are required will lead to unpredictable results and may return fewer documents then expected.") void knnUsedInNestedContextRequiresFilters()
    • highlighterIncompatibleCardinality

      @Message(id=400690, value="A single-valued highlight projection requested, but the corresponding highlighter does not set number of fragments to 1.") SearchException highlighterIncompatibleCardinality()