Do not use ElasticSearch, but an exception will be thrown during background initialization.

  1. Remove the ES access configuration from application-xxx.yml:
spring: 
  elasticsearch:
    uris: http://127.0.0.1:9200
    username: xxxxxx
    password: yyyyyy
  1. Add the following configuration to application-xxx.yml to disable ES health checks:
management:
  health:
    elasticsearch:
      enabled: false

The system's full-text search is implemented using ES. Once this feature is disabled, the search function will become unavailable.

On this page