@Override public final void forceRemoveOnIndexOperationViaInterception(final IndexedTypeIdentifier entityType, final WorkType type) { super.log.logf(FQCN, TRACE, null, forceRemoveOnIndexOperationViaInterception$str(), new IndexedTypeIdentifierFormatter(entityType), type); } private static final String forceRemoveOnIndexOperationViaInterception = "HSEARCH000126: Interceptor enforces removal of index data instead of index operation %2$s on instance of class %1$s";
@Override public final void unsupportedDynamicBoost(final Class<?> boostStrategyType, final IndexedTypeIdentifier entityType, final String fieldPath) { super.log.logf(FQCN, WARN, null, unsupportedDynamicBoost$str(), boostStrategyType, new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(entityType), fieldPath); } private static final String unsupportedDynamicBoost = "HSEARCH400032: @DynamicBoost is not supported with Elasticsearch. Ignoring boost strategy '%1$s' for entity '%2$s' (field path '%3$s').";
@Override public final void forceSkipIndexOperationViaInterception(final IndexedTypeIdentifier entityType, final WorkType type) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, forceSkipIndexOperationViaInterception$str(), new IndexedTypeIdentifierFormatter(entityType), type); } private static final String forceSkipIndexOperationViaInterception = "HSEARCH000125: Interceptor enforces skip index operation %2$s on instance of class %1$s";
@Override public final void unsupportedDynamicBoost(final Class<?> boostStrategyType, final IndexedTypeIdentifier entityType, final String fieldPath) { super.log.logf(FQCN, WARN, null, unsupportedDynamicBoost$str(), boostStrategyType, new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(entityType), fieldPath); } private static final String unsupportedDynamicBoost = "HSEARCH400032: @DynamicBoost is not supported with Elasticsearch. Ignoring boost strategy '%1$s' for entity '%2$s' (field path '%3$s').";
@Override public final void sortableFieldWithNonNormalizerAnalyzer(final IndexedTypeIdentifier entityType, final String absoluteFieldPath) { super.log.logf(FQCN, WARN, null, sortableFieldWithNonNormalizerAnalyzer$str(), new IndexedTypeIdentifierFormatter(entityType), absoluteFieldPath); } private static final String sortableFieldWithNonNormalizerAnalyzer = "HSEARCH000345: Field '%2$s' on entity '%1$s' is marked as sortable and will be analyzed, but is assigned an Analyzer instead of a Normalizer. Sortable fields should be assigned normalizers in order to avoid problems with tokenization.";
@Override public final void forceRemoveOnIndexOperationViaInterception(final IndexedTypeIdentifier entityType, final WorkType type) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.TRACE, null, forceRemoveOnIndexOperationViaInterception$str(), new IndexedTypeIdentifierFormatter(entityType), type); } private static final String forceRemoveOnIndexOperationViaInterception = "HSEARCH000126: Interceptor enforces removal of index data instead of index operation %2$s on instance of class %1$s";
@Override public final void uncoveredSortsRequested(final IndexedTypeIdentifier arg0, final String arg1, final String arg2) { super.log.logf(FQCN, org.jboss.logging.Logger.Level.WARN, null, uncoveredSortsRequested$str(), new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(arg0), arg1, arg2); } private static final String uncoveredSortsRequested = "HSEARCH000289: Requested sort field(s) %3$s are not configured for entity type %1$s mapped to index %2$s, thus an uninverting reader must be created. You should declare the missing sort fields using @SortableField.";
@Override public final void forceUpdateOnIndexOperationViaInterception(final IndexedTypeIdentifier entityType, final WorkType type) { super.log.logf(FQCN, TRACE, null, forceUpdateOnIndexOperationViaInterception$str(), new IndexedTypeIdentifierFormatter(entityType), type); } private static final String forceUpdateOnIndexOperationViaInterception = "HSEARCH000128: Interceptor enforces update of index data instead of index operation %2$s on instance of class %1$s";
@Override public final void uncoveredSortsRequested(final IndexedTypeIdentifier entityType, final String indexName, final String uncoveredSorts) { super.log.logf(FQCN, WARN, null, uncoveredSortsRequested$str(), new IndexedTypeIdentifierFormatter(entityType), indexName, uncoveredSorts); } private static final String uncoveredSortsRequested = "HSEARCH000289: Requested sort field(s) %3$s are not configured for entity type %1$s mapped to index %2$s, thus an uninverting reader must be created. You should declare the missing sort fields using @SortableField.";
@Override public final SearchException unknownFieldNameForMoreLikeThisQuery(final String field, final IndexedTypeIdentifier type) { final SearchException result = new SearchException(String.format(unknownFieldNameForMoreLikeThisQuery$str(), field, new IndexedTypeIdentifierFormatter(type))); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String jmsInitialContextException = "HSEARCH000219: Could not lookup initial JNDI context for the JMS ConnectionFactory named '%s' for the index '%s";
@Override public final SearchException numericFieldAnnotationWithoutMatchingField(final IndexedTypeIdentifier entityType, final String memberName) { final SearchException result = new SearchException(String.format(numericFieldAnnotationWithoutMatchingField$str(), new IndexedTypeIdentifierFormatter(entityType), memberName)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String facetAnnotationWithoutMatchingField = "HSEARCH000263: @Facet annotation is used on %1$s#%2$s without a matching @Field annotation";
@Override public final SearchException sortableFieldRefersToUndefinedField(final IndexedTypeIdentifier entityType, final String property, final String sortedFieldName) { final SearchException result = new SearchException(String.format(sortableFieldRefersToUndefinedField$str(), new IndexedTypeIdentifierFormatter(entityType), property, sortedFieldName)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String severalNumericFieldAnnotationsForSameField = "HSEARCH000300: Several @NumericField annotations used on %1$s#%2$s refer to the same field";
@Override public final SearchException cannotReferenceAnalyzerAndNormalizer(final IndexedTypeIdentifier entityType, final String relativeFieldPath) { final SearchException result = new SearchException(String.format(cannotReferenceAnalyzerAndNormalizer$str(), new IndexedTypeIdentifierFormatter(entityType), relativeFieldPath)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidEmptyNormalizerDefinition = "HSEARCH000343: Normalizer definition for '%s' must define at least a char filter or a token filter (or both).";
@Override public final SearchException entityWithNoShard(final IndexedTypeIdentifier arg0) { final SearchException result = new SearchException(String.format(entityWithNoShard$str(), new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(arg0))); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String assertionFailureCannotCastToWorkerBuilderContext = "HSEARCH000186: [AssertionFailure: open a bug report] SearchFactory from entityIndexBinding is not assignable to WorkerBuilderContext. Actual class is %1$s";
@Override public final SearchException ioExceptionOnIndexOfEntity(final IOException arg0, final IndexedTypeIdentifier arg1) { final SearchException result = new SearchException(String.format(ioExceptionOnIndexOfEntity$str(), new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(arg1)), arg0); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String requireTFIDFSimilarity = "HSEARCH000206: MoreLikeThis queries require a TFIDFSimilarity for entity '$1%s'";
@Override public final SearchException numericFieldAnnotationWithoutMatchingField(final IndexedTypeIdentifier arg0, final String arg1) { final SearchException result = new SearchException(String.format(numericFieldAnnotationWithoutMatchingField$str(), new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(arg0), arg1)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String facetAnnotationWithoutMatchingField = "HSEARCH000263: @Facet annotation is used on %1$s#%2$s without a matching @Field annotation";
@Override public final SearchException cannotReferenceAnalyzerAndNormalizer(final IndexedTypeIdentifier arg0, final String arg1) { final SearchException result = new SearchException(String.format(cannotReferenceAnalyzerAndNormalizer$str(), new org.hibernate.search.util.logging.impl.IndexedTypeIdentifierFormatter(arg0), arg1)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidEmptyNormalizerDefinition = "HSEARCH000343: Normalizer definition for '%s' must define at least a char filter or a token filter (or both).";
@Override public final SearchException unableToDeleteByQuery(final IndexedTypeIdentifier entityType, final DeletionQuery deletionQuery, final Exception e) { final SearchException result = new SearchException(String.format(unableToDeleteByQuery$str(), new IndexedTypeIdentifierFormatter(entityType), deletionQuery), e); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } @Override
@Override public final SearchException severalNumericFieldAnnotationsForSameField(final IndexedTypeIdentifier entityType, final String memberName) { final SearchException result = new SearchException(String.format(severalNumericFieldAnnotationsForSameField$str(), new IndexedTypeIdentifierFormatter(entityType), memberName)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String uncoveredSortsRequestedWithUninvertingNotAllowed = "HSEARCH000301: Requested sort field(s) %3$s are not configured for entity type %1$s mapped to index %2$s, thus an uninverting reader must be created. You should declare the missing sort fields using @SortableField.";
@Override public final SearchException unsupportedNullTokenType(final IndexedTypeIdentifier entityName, final String fieldName, final Class<? extends Object> tokenType) { final SearchException result = new SearchException(String.format(unsupportedNullTokenType$str(), new IndexedTypeIdentifierFormatter(entityName), fieldName, tokenType)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String cannotCreateBridgeDefinedField = "HSEARCH000328: Cannot create context for class: %1$s";