Skip to content

Commit

Permalink
Merge pull request #224 from yrodiere/dev-mode-reuse
Browse files Browse the repository at this point in the history
Make sure index content can be reused in dev mode
  • Loading branch information
yrodiere authored Apr 8, 2024
2 parents e2d040e + c456ce8 commit ed8fa52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ quarkus.hibernate-search-orm.elasticsearch.schema-management.settings-file=index
%prod.quarkus.hibernate-search-orm.elasticsearch.version-check.enabled=false
# ... and the application automatically creates indexes upon first indexing anyway.
%prod.quarkus.hibernate-search-orm.schema-management.strategy=none
# Make sure index content can be reused in dev mode
%dev.quarkus.hibernate-search-orm.schema-management.strategy=create-or-validate
# Make sure there are always enough backend connections available.
# In particular, we need to have extra connections for search
# even when heavily indexing, otherwise liveness/readiness checks will fail
Expand Down

0 comments on commit ed8fa52

Please sign in to comment.