2

Does anyone know the definitive steps to disabling Content Delivery search in 9.5?

SDL Docs says set springprofilesactive (if an environment var) to "default" but this support article says use the value "broker" for the same environment var.

Is one for Deployer and the other for the Content/Session service?

If you have a single server running several microservices can/should the value be "default,broker"?

1

AFAIK - You can disable this in application.properties

# Active Spring profiles:
# default - enable default functionality
# search - enable search functionality
spring.profiles.active=${springprofilesactive:default,search}

This parameter can also be passed in the start-up parameters if you want to control dynamically. Alternatively, you can also update the add-on packages to remove the search indexing pipeline steps and deploy them.

I hope it helps.

5
  • It can be set via an environment variable as well, doesn't have to be application.properties. – Neil Mar 2 at 14:22
  • Yes. it's possible but if you are running staging and live in the same instance then how you can control this – Velmurugan Mar 2 at 14:24
  • Exactly my last question above! – Neil Mar 2 at 14:25
  • I take your point about staging/live - my assumption is env vars aren't suitable in that scenario. But if you need to manage this differently for staging/live, my last question is more can the env var hold the two different values or not. – Neil Mar 2 at 14:44
  • ah. okay not sure need to validate – Velmurugan Mar 2 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.