anchor.diff:  quarkus.hibernate-search-orm.elasticsearch.analysis.configurer=bean:myAnalysisConfigurer <6>
   quarkus.hibernate-search-orm.schema-management.strategy=drop-and-create <7>
   quarkus.hibernate-search-orm.automatic-indexing.synchronization.strategy=sync <8>
  +
  +%prod.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost/quarkus_test <9>
  +%prod.quarkus.datasource.username=quarkus_test
  +%prod.quarkus.datasource.password=quarkus_test
  +%prod.hibernate-search-orm.elasticsearch.hosts=localhost:9200 <9>
   ----
   <1> We won't use SSL so we disable it to have a more compact native executable.
   <2> Let's create a PostgreSQL datasource.
  
positive.code: INSERT INTO book(id, title, author_id) VALUES (nextval('hibernate_sequence'), '4 3 2 1', 2);
  ----
  
  == Preparing the infrastructure
  
  We need a PostgreSQL instance and an Elasticsearch cluster.
  
  Let's use Docker to start one of each:
  
  [source,bash,subs=attributes+]
  ----
  docker run -it --rm=true --name elasticsearch_quarkus_test -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch-oss:{elasticsearch-version}
  ----
  
  [source,bash]
  ----
  docker run -it --rm=true --name postgresql_quarkus_test -e POSTGRES_USER=quarkus_test -e POSTGRES_PASSWORD=quarkus_test -e POSTGRES_DB=quarkus_test -p 5432:5432 postgres:14.1
  ----
  
  == Time to play with your application
  
  You can now interact with your REST service:
  
negative.code: quarkus.ssl.native=false <1>
  
  quarkus.datasource.db-kind=postgresql <2>
  
  quarkus.hibernate-orm.database.generation=drop-and-create <3>
  quarkus.hibernate-orm.sql-load-script=import.sql <4>
  