From 8432292f702585be0c901d27d0943bc468294d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Fri, 23 Jun 2023 09:37:50 +0200 Subject: [PATCH] Fix outdated Hibernate documentation URLs and use a common Asciidoc attribute --- bom/application/pom.xml | 5 +++- docs/pom.xml | 4 ++++ docs/src/main/asciidoc/_attributes.adoc | 5 ++++ .../main/asciidoc/hibernate-orm-panache.adoc | 4 ++-- docs/src/main/asciidoc/hibernate-orm.adoc | 13 +++++----- .../asciidoc/hibernate-reactive-panache.adoc | 4 ++-- .../hibernate-search-orm-elasticsearch.adoc | 22 ++++++++--------- docs/src/main/asciidoc/mongodb-panache.adoc | 2 +- ...PollingBuildTimeConfigPersistenceUnit.java | 4 ++-- ...oxPollingRuntimeConfigPersistenceUnit.java | 24 +++++++++---------- ...csearchBuildTimeConfigPersistenceUnit.java | 2 +- ...ticsearchRuntimeConfigPersistenceUnit.java | 2 +- 12 files changed, 50 insertions(+), 41 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 9c686ee86e0e1..fdc4e4c9a9619 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -97,11 +97,14 @@ 3.12.0 1.16.0 1.5.1 - 6.2.5.Final + + 6.2.5.Final 1.12.18 6.0.6.Final 2.0.1.Final 8.0.1.Final + 6.2.0.CR1 6.0.1.Final 2.1 diff --git a/docs/pom.xml b/docs/pom.xml index 087c3f2a89c19..4ce75a0a11dfa 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -35,6 +35,10 @@ ${project.basedir}/../target/asciidoc/generated ${generated-dir}/examples docker.io/jdkato/vale:v2.15.5 + + + 6.2 + 6.2 Quarkus - Documentation diff --git a/docs/src/main/asciidoc/_attributes.adoc b/docs/src/main/asciidoc/_attributes.adoc index 2028b41225096..7cc1720ded549 100644 --- a/docs/src/main/asciidoc/_attributes.adoc +++ b/docs/src/main/asciidoc/_attributes.adoc @@ -24,6 +24,8 @@ :grpc-version: ${grpc.version} :protoc-version: ${protoc.version} :gcf-invoker-version: ${gcf-invoker.version} +:hibernate-orm-version: ${hibernate-orm.version-for-documentation} +:hibernate-search-version: ${hibernate-search.version-for-documentation} // . :quarkus-home-url: ${quarkus-home-url} :quarkus-org-url: https://github.com/quarkusio @@ -46,6 +48,9 @@ :quickstarts-blob-url: ${quickstarts-base-url}/blob/main :quickstarts-tree-url: ${quickstarts-base-url}/tree/main // . +:hibernate-orm-docs-url: https://docs.jboss.org/hibernate/orm/{hibernate-orm-version}/userguide/html_single/Hibernate_User_Guide.html +:hibernate-search-docs-url: https://docs.jboss.org/hibernate/search/{hibernate-search-version}/reference/en-US/html_single/ +// . :amazon-services-guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-amazon-services/dev/index.html :config-consul-guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-config-extensions/dev/consul.html :hibernate-search-orm-elasticsearch-aws-guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-hibernate-search-extras/dev/index.html diff --git a/docs/src/main/asciidoc/hibernate-orm-panache.adoc b/docs/src/main/asciidoc/hibernate-orm-panache.adoc index 8c45a0d98572d..7d3ed4fcb70b2 100644 --- a/docs/src/main/asciidoc/hibernate-orm-panache.adoc +++ b/docs/src/main/asciidoc/hibernate-orm-panache.adoc @@ -763,7 +763,7 @@ If your delete query does not start with `delete`, we support the following addi - `` will expand to `delete from EntityName where ` NOTE: You can also write your queries in plain -link:https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#hql[HQL]: +link:{hibernate-orm-docs-url}#hql[HQL]: [source,java] ---- @@ -869,7 +869,7 @@ You can use it to restrict which fields will be returned by the database. Hibernate will use **DTO projection** and generate a SELECT clause with the attributes from the projection class. This is also called **dynamic instantiation** or **constructor expression**, more info can be found on the Hibernate guide: -link:https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql-select-clause[hql select clause] +link:{hibernate-orm-docs-url}#hql-select-clause[hql select clause] The projection class needs to have a constructor that contains all its attributes, this constructor will be used to instantiate the projection DTO instead of using the entity class. This class must have a matching constructor with all the class attributes as parameters. diff --git a/docs/src/main/asciidoc/hibernate-orm.adoc b/docs/src/main/asciidoc/hibernate-orm.adoc index 8958a25296d43..6cbb3a8a923cf 100644 --- a/docs/src/main/asciidoc/hibernate-orm.adoc +++ b/docs/src/main/asciidoc/hibernate-orm.adoc @@ -8,7 +8,6 @@ include::_attributes.adoc[] :categories: data :summary: Hibernate ORM is the de facto Jakarta Persistence implementation and offers you the full breath of an Object Relational Mapper. It works beautifully in Quarkus. :config-file: application.properties -:orm-doc-url-prefix: https://docs.jboss.org/hibernate/orm/6.2/userguide/html_single/Hibernate_User_Guide.html Hibernate ORM is the de facto standard Jakarta Persistence (formerly known as JPA) implementation and offers you the full breadth of an Object Relational Mapper. It works beautifully in Quarkus. @@ -173,7 +172,7 @@ so at your application entry point boundaries like your REST endpoint controller ==== Supported databases For xref:datasource.adoc#default-datasource[supported databases], -the link:{orm-doc-url-prefix}##database-dialect[Hibernate ORM dialect] +the link:{hibernate-orm-docs-url}#database-dialect[Hibernate ORM dialect] does not need to be set explicitly: it is selected automatically based on the datasource. @@ -215,7 +214,7 @@ If the database cannot be reached, a warning will be logged but startup will pro If xref:datasource.adoc#other-databases[your database does not have a corresponding Quarkus extension], or if the defaults do not match your needs for some reason, -you will need to set the link:{orm-doc-url-prefix}##database-dialect[Hibernate ORM dialect] explicitly: +you will need to set the link:{hibernate-orm-docs-url}#database-dialect[Hibernate ORM dialect] explicitly: [source,properties] .`{config-file}` with an explicit `dialect` @@ -524,7 +523,7 @@ difference is that you would specify your Hibernate ORM configuration in `META-I ---- When using the `persistence.xml` configuration you are configuring Hibernate ORM directly, -so in this case the appropriate reference is the link:{orm-doc-url-prefix}#configurations[documentation on hibernate.org]. +so in this case the appropriate reference is the link:{hibernate-orm-docs-url}#configurations[documentation on hibernate.org]. Please remember these are not the same property names as the ones used in the Quarkus `{config-file}`, nor will the same defaults be applied. @@ -914,9 +913,9 @@ Jump over to xref:datasource.adoc[Quarkus - Datasources] for all details. [[multitenancy]] == Multitenancy -"The term multitenancy, in general, is applied to software development to indicate an architecture in which a single running instance of an application simultaneously serves multiple clients (tenants). This is highly common in SaaS solutions. Isolating information (data, customizations, etc.) pertaining to the various tenants is a particular challenge in these systems. This includes the data owned by each tenant stored in the database" (link:{orm-doc-url-prefix}#multitenacy[Hibernate User Guide]). +"The term multitenancy, in general, is applied to software development to indicate an architecture in which a single running instance of an application simultaneously serves multiple clients (tenants). This is highly common in SaaS solutions. Isolating information (data, customizations, etc.) pertaining to the various tenants is a particular challenge in these systems. This includes the data owned by each tenant stored in the database" (link:{hibernate-orm-docs-url}#multitenacy[Hibernate User Guide]). -Quarkus currently supports the link:{orm-doc-url-prefix}#multitenacy-separate-database[separate database] approach, the link:{orm-doc-url-prefix}#multitenacy-separate-schema[separate schema] approach and the link:{orm-doc-url-prefix}#multitenacy-discriminator[discriminator] approach. +Quarkus currently supports the link:{hibernate-orm-docs-url}#multitenacy-separate-database[separate database] approach, the link:{hibernate-orm-docs-url}#multitenacy-separate-schema[separate schema] approach and the link:{hibernate-orm-docs-url}#multitenacy-discriminator[discriminator] approach. To see multitenancy in action, you can check out the {quickstarts-tree-url}/hibernate-orm-multi-tenancy-quickstart[hibernate-orm-multi-tenancy-quickstart] quickstart. @@ -1179,7 +1178,7 @@ Your custom connection resolver would allow for example to read tenant informati [[interceptors]] == Interceptors -You can assign an link:{orm-doc-url-prefix}#events-interceptors[`org.hibernate.Interceptor`] +You can assign an link:{hibernate-orm-docs-url}#events-interceptors[`org.hibernate.Interceptor`] to your `SessionFactory` by simply defining a CDI bean with the appropriate qualifier: [source,java] diff --git a/docs/src/main/asciidoc/hibernate-reactive-panache.adoc b/docs/src/main/asciidoc/hibernate-reactive-panache.adoc index e2088abc4c868..d245eb3c4d598 100644 --- a/docs/src/main/asciidoc/hibernate-reactive-panache.adoc +++ b/docs/src/main/asciidoc/hibernate-reactive-panache.adoc @@ -525,7 +525,7 @@ If your delete query does not start with `delete`, we support the following addi - `` will expand to `delete from EntityName where ` NOTE: You can also write your queries in plain -link:https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#hql[HQL]: +link:{hibernate-orm-docs-url}#hql[HQL]: [source,java] ---- @@ -617,7 +617,7 @@ You can use it to restrict which fields will be returned by the database. Hibernate will use **DTO projection** and generate a SELECT clause with the attributes from the projection class. This is also called **dynamic instantiation** or **constructor expression**, more info can be found on the Hibernate guide: -link:https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql-select-clause[hql select clause] +link:{hibernate-orm-docs-url}#hql-select-clause[hql select clause] The projection class needs to be a valid Java Bean and have a constructor that contains all its attributes, this constructor will be used to instantiate the projection DTO instead of using the entity class. This must be the only constructor of the class. diff --git a/docs/src/main/asciidoc/hibernate-search-orm-elasticsearch.adoc b/docs/src/main/asciidoc/hibernate-search-orm-elasticsearch.adoc index 092fc32a0b304..da9fe4c439a43 100644 --- a/docs/src/main/asciidoc/hibernate-search-orm-elasticsearch.adoc +++ b/docs/src/main/asciidoc/hibernate-search-orm-elasticsearch.adoc @@ -4,8 +4,6 @@ and pull requests should be submitted there: https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc //// = Hibernate Search guide -:hibernate-search-doc-prefix: https://docs.jboss.org/hibernate/search/6.2/reference/en-US/html_single/ -:hibernate-orm-doc-prefix: https://docs.jboss.org/hibernate/orm/6.2/userguide/html_single/Hibernate_User_Guide.html include::_attributes.adoc[] :categories: data :summary: Hibernate Search allows you to index your entities in an Elasticsearch cluster and easily offer full text search in all your Hibernate ORM-based applications. @@ -549,7 +547,7 @@ The Hibernate Search DSL supports a significant subset of the Elasticsearch pred Feel free to explore the DSL using autocompletion. When that's not enough, you can always fall back to -link:{hibernate-search-doc-prefix}#search-dsl-predicate-extensions-elasticsearch-from-json[defining a predicate using JSON directly]. +link:{hibernate-search-docs-url}#search-dsl-predicate-extensions-elasticsearch-from-json[defining a predicate using JSON directly]. ==== == Configuring the application @@ -691,7 +689,7 @@ and https://www.opensearch.org/[OpenSearch], but it assumes it is working with an Elasticsearch cluster by default. To have Hibernate Search work with an OpenSearch cluster instead, -link:{hibernate-search-doc-prefix}#backend-elasticsearch-configuration-version[prefix the configured version with `opensearch:`], +link:{hibernate-search-docs-url}#backend-elasticsearch-configuration-version[prefix the configured version with `opensearch:`], as shown below. [source,properties] @@ -702,7 +700,7 @@ quarkus.hibernate-search-orm.elasticsearch.version=opensearch:1.2 All other configuration options and APIs are exactly the same as with Elasticsearch. You can find more information about compatible distributions and versions of Elasticsearch in -link:{hibernate-search-doc-prefix}#compatibility[this section of Hibernate Search's reference documentation]. +link:{hibernate-search-docs-url}#compatibility[this section of Hibernate Search's reference documentation]. [[multiple-persistence-units]] == Multiple persistence units @@ -850,7 +848,7 @@ If you disable automatic schema creation by setting `quarkus.hibernate-search-or you will have to create the schema manually at some point before your application starts persisting/updating entities and executing search requests. -See link:{hibernate-search-doc-prefix}#schema-management-manager[this section of the reference documentation] +See link:{hibernate-search-docs-url}#schema-management-manager[this section of the reference documentation] for more information. ==== @@ -870,12 +868,12 @@ or as issues in our https://github.com/quarkusio/quarkus/issues[GitHub issue tra While it’s technically possible to use Hibernate Search and Elasticsearch in distributed applications, by default they suffer from -link:{hibernate-search-doc-prefix}#architecture-examples-no-coordination-elasticsearch-pros-and-cons[a few limitations]. +link:{hibernate-search-docs-url}#architecture-examples-no-coordination-elasticsearch-pros-and-cons[a few limitations]. These limitations are the result of Hibernate Search not coordinating between threads or application nodes by default. In order to get rid of these limitations, you can -link:{hibernate-search-doc-prefix}#architecture-examples-outbox-polling-elasticsearch[use the `outbox-polling` coordination strategy]. +link:{hibernate-search-docs-url}#architecture-examples-outbox-polling-elasticsearch[use the `outbox-polling` coordination strategy]. This strategy creates an outbox table in the database to push entity change events to, and relies on a background processor to consume these events and perform indexing. @@ -895,7 +893,7 @@ Finally, you will need to make sure that the Hibernate ORM entities added by Hib and intend to xref:hibernate-orm.adoc#dev-mode[let Hibernate ORM generate your database schema], then no worries: the entities required by Hibernate Search will be included in the generated schema. * Otherwise, you must -link:{hibernate-search-doc-prefix}#coordination-outbox-polling-schema[manually alter your schema to add the necessary tables/sequences]. +link:{hibernate-search-docs-url}#coordination-outbox-polling-schema[manually alter your schema to add the necessary tables/sequences]. [NOTE] ==== @@ -939,7 +937,7 @@ and the recommended way of using Hibernate Search even when coordination is disa ==== For more information about coordination in Hibernate Search, -see link:{hibernate-search-doc-prefix}#coordination[this section of the reference documentation]. +see link:{hibernate-search-docs-url}#coordination[this section of the reference documentation]. For more information about configuration options related to coordination, see <>. @@ -958,7 +956,7 @@ for more information. == Further reading If you are interested in learning more about Hibernate Search 6, -the Hibernate team publishes link:{hibernate-search-doc-prefix}[an extensive reference documentation]. +the Hibernate team publishes link:{hibernate-search-docs-url}[an extensive reference documentation]. == FAQ @@ -998,7 +996,7 @@ such as `async`/`read-sync`/`write-sync`/`sync` for <>. Other formats are also accepted, but are only useful for advanced use cases. -See link:{hibernate-search-doc-prefix}#configuration-bean-reference-parsing[this section of Hibernate Search's reference documentation] +See link:{hibernate-search-docs-url}#configuration-bean-reference-parsing[this section of Hibernate Search's reference documentation] for more information. ==== diff --git a/docs/src/main/asciidoc/mongodb-panache.adoc b/docs/src/main/asciidoc/mongodb-panache.adoc index ee08c8145e56e..4003e3efb8ca9 100644 --- a/docs/src/main/asciidoc/mongodb-panache.adoc +++ b/docs/src/main/asciidoc/mongodb-panache.adoc @@ -587,7 +587,7 @@ The `Sort` class has plenty of methods for adding columns and specifying sort di Normally, MongoDB queries are of this form: `{'firstname': 'John', 'lastname':'Doe'}`, this is what we call MongoDB native queries. -You can use them if you want, but we also support what we call **PanacheQL** that can be seen as a subset of link:https://docs.oracle.com/javaee/7/tutorial/persistence-querylanguage.htm#BNBTG[JPQL] (or link:https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#hql[HQL]) and allows you to easily express a query. +You can use them if you want, but we also support what we call **PanacheQL** that can be seen as a subset of link:https://docs.oracle.com/javaee/7/tutorial/persistence-querylanguage.htm#BNBTG[JPQL] (or link:{hibernate-orm-docs-url}#hql[HQL]) and allows you to easily express a query. MongoDB with Panache will then map it to a MongoDB native query. If your query does not start with `{`, we will consider it a PanacheQL query: diff --git a/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingBuildTimeConfigPersistenceUnit.java b/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingBuildTimeConfigPersistenceUnit.java index 7094fcb2500d2..a54d95059c6c7 100644 --- a/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingBuildTimeConfigPersistenceUnit.java +++ b/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingBuildTimeConfigPersistenceUnit.java @@ -88,7 +88,7 @@ interface EntityMappingAgentConfig { * The name of the Hibernate ORM basic type used for representing an UUID in the agent table. * * Refer to - * link:{hibernate-orm-doc-prefix}#basic-legacy-provided[this section of the Hibernate ORM documentation] + * link:{hibernate-orm-docs-url}#basic-legacy-provided[this section of the Hibernate ORM documentation] * to see the list of available UUID representations provided by Hibernate ORM. * * A user defined type can also be supplied. @@ -147,7 +147,7 @@ interface EntityMappingOutboxEventConfig { * The name of the Hibernate ORM basic type used for representing an UUID in the outbox event table. * * Refer to - * link:{hibernate-orm-doc-prefix}#basic-legacy-provided[this section of the Hibernate ORM documentation] + * link:{hibernate-orm-docs-url}#basic-legacy-provided[this section of the Hibernate ORM documentation] * to see the list of available UUID representations provided by Hibernate ORM. * * A user defined type can also be supplied. diff --git a/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingRuntimeConfigPersistenceUnit.java b/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingRuntimeConfigPersistenceUnit.java index 413c1e8834c08..a7b4b8d7e5a73 100644 --- a/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingRuntimeConfigPersistenceUnit.java +++ b/extensions/hibernate-search-orm-coordination-outbox-polling/runtime/src/main/java/io/quarkus/hibernate/search/orm/coordination/outboxpolling/runtime/HibernateSearchOutboxPollingRuntimeConfigPersistenceUnit.java @@ -66,7 +66,7 @@ public interface EventProcessorConfig { * for example to dedicate some nodes to HTTP request processing and other nodes to event processing. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -88,7 +88,7 @@ public interface EventProcessorConfig { * but will increase the stress on the database when there are no new events. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -118,7 +118,7 @@ public interface EventProcessorConfig { * but less stress on the database because of less frequent checks of the list of agents. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -145,7 +145,7 @@ public interface EventProcessorConfig { * because an event processor is incorrectly considered disconnected. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -163,7 +163,7 @@ public interface EventProcessorConfig { * but will increase memory usage and in extreme cases may lead to ``OutOfMemoryError``s. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -182,7 +182,7 @@ public interface EventProcessorConfig { * If this happens, set a higher transaction timeout for event processing using this property. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -197,7 +197,7 @@ public interface EventProcessorConfig { * Use the value `0S` to reprocess failed events as soon as possible, with no delay. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor[this section of the reference documentation] * for more information. * * @asciidoclet @@ -222,7 +222,7 @@ public interface EventProcessorShardsConfig { * is necessary. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor-sharding[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor-sharding[this section of the reference documentation] * for more information about event processor sharding. * * @asciidoclet @@ -246,7 +246,7 @@ public interface EventProcessorShardsConfig { * by setting `shards.assigned` to a comma-separated list, e.g. `0,3`. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-event-processor-sharding[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-event-processor-sharding[this section of the reference documentation] * for more information about event processor sharding. * * @asciidoclet @@ -273,7 +273,7 @@ public interface MassIndexerConfig { * but will reduce the stress on the database while the mass indexer agent is actively waiting. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-mass-indexer[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-mass-indexer[this section of the reference documentation] * for more information. * * @asciidoclet @@ -301,7 +301,7 @@ public interface MassIndexerConfig { * but less stress on the database because of less frequent updates of the mass indexer agent's entry in the agent table. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-mass-indexer[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-mass-indexer[this section of the reference documentation] * for more information. * * @asciidoclet @@ -328,7 +328,7 @@ public interface MassIndexerConfig { * because a mass indexer agent is incorrectly considered disconnected. * * See - * link:{hibernate-search-doc-prefix}#coordination-outbox-polling-mass-indexer[this section of the reference documentation] + * link:{hibernate-search-docs-url}#coordination-outbox-polling-mass-indexer[this section of the reference documentation] * for more information. * * @asciidoclet diff --git a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java index b1924c7844759..1eecddafc2b5a 100644 --- a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java +++ b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java @@ -209,7 +209,7 @@ public interface LayoutConfig { * this strategy will create an index named `myindex`, and will not use any alias. * * See - * link:{hibernate-search-doc-prefix}#backend-elasticsearch-indexlayout[this section of the reference documentation] + * link:{hibernate-search-docs-url}#backend-elasticsearch-indexlayout[this section of the reference documentation] * for more information. * * [NOTE] diff --git a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.java b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.java index 2b3e2ccae9e74..27bc748159746 100644 --- a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.java +++ b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.java @@ -325,7 +325,7 @@ public interface IndexingConfig { * to a custom implementations of `IndexingPlanSynchronizationStrategy`. * * See - * link:{hibernate-search-doc-prefix}#indexing-plan-synchronization[this section of the reference documentation] + * link:{hibernate-search-docs-url}#indexing-plan-synchronization[this section of the reference documentation] * for more information. * * [NOTE]