[
https://issues.redhat.com/browse/ISPN-12535?page=com.atlassian.jira.plugi...
]
Yoann Rodière commented on ISPN-12535:
--------------------------------------
These two warnings are a clear indicator that you're not using Hibernate Search
6.0.0.CR1:
{noformat}
11:52:13,778 WARN (blocking-thread--p3-t1)
[org.hibernate.search.engine.common.impl.IndexManagerBuildingStateHolder] HSEARCH000574:
Using configuration property 'hibernate.search.default_backend' to set the name of
the default backend to 'infinispan_backend'. This configuration property is
deprecated and shouldn't be used anymore. Instead, do not assign a name your default
backend and configure it using the 'hibernate.search.backend' prefix, e.g.
hibernate.search.backend.type = elasticsearch.
{noformat}
{noformat}
11:52:14,428 WARN (blocking-thread--p3-t1)
[org.hibernate.search.engine.cfg.impl.EngineConfigurationUtils] HSEARCH000585: Using
configuration property 'index_defaults.indexing.queue_count'. The prefix
'index_defaults' is deprecated and its support will ultimately be removed.
Instead, you should just set defaults for index properties at the backend level. For
example, set 'hibernate.search.backend.indexing.queue_size' instead of
'hibernate.search.backend.index_defaults.indexing.queue_size'.
{noformat}
We removed these warnings in Hibernate Search 6.0.0.CR1. Since Infinispan 12.0.0.Dev07
supposedly uses Hibernate Search 6.0.0.CR1, either there's a problem with the
dependencies, or you tested with an older version of Infinispan (e.g. the master branch
before Fri Nov 27 09:44:12)?
This warning is still relevant, though, and should be addressed:
{noformat}
11:52:13,857 WARN (blocking-thread--p3-t1)
[org.hibernate.search.backend.lucene.impl.LuceneBackendFactory] HSEARCH000075:
Configuration setting 'lucene_version' was not specified: using LATEST (currently
'8.6.2'). Context: backend 'infinispan_backend'
{noformat}
CC [~gustavonalle]
Fix WARN messages org.hibernate.search in the server
----------------------------------------------------
Key: ISPN-12535
URL:
https://issues.redhat.com/browse/ISPN-12535
Project: Infinispan
Issue Type: Enhancement
Components: Remote Querying
Affects Versions: 12.0.0.Dev07
Reporter: Diego Lovison
Assignee: Gustavo Fernandes
Priority: Major
Attachments: query.diff
When creating the caches using the attached test, we can see the following WARN messages
in the server
{noformat}
11:52:13,778 WARN (blocking-thread--p3-t1)
[org.hibernate.search.engine.common.impl.IndexManagerBuildingStateHolder] HSEARCH000574:
Using configuration property 'hibernate.search.default_backend' to set the name of
the default backend to 'infinispan_backend'. This configuration property is
deprecated and shouldn't be used anymore. Instead, do not assign a name your default
backend and configure it using the 'hibernate.search.backend' prefix, e.g.
hibernate.search.backend.type = elasticsearch.
11:52:13,857 WARN (blocking-thread--p3-t1)
[org.hibernate.search.backend.lucene.impl.LuceneBackendFactory] HSEARCH000075:
Configuration setting 'lucene_version' was not specified: using LATEST (currently
'8.6.2'). Context: backend 'infinispan_backend'
11:52:14,428 WARN (blocking-thread--p3-t1)
[org.hibernate.search.engine.cfg.impl.EngineConfigurationUtils] HSEARCH000585: Using
configuration property 'index_defaults.indexing.queue_count'. The prefix
'index_defaults' is deprecated and its support will ultimately be removed.
Instead, you should just set defaults for index properties at the backend level. For
example, set 'hibernate.search.backend.indexing.queue_size' instead of
'hibernate.search.backend.index_defaults.indexing.queue_size'.
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)