Darshan Hiranandani : How can I remove additionalParameters from extraSearch in my application?

Hi Team,

I hope you’re all doing well. I’m currently facing an issue that I’d like your input on. I’ve set up extraSearch for a collection where hook_pre_process.groovy applies additionalParameters based on the query parameters. However, these additional parameters are inherited in the extraSearch phase, and I’m trying to remove them using the following code:

transaction.extraSearchesQuestions[“past”].additionalParameters.remove(‘ge_eventDate’)
Unfortunately, this doesn’t seem to work, as the additional parameter still persists. We are currently on version 15.20.0.

Has anyone encountered a similar issue or have suggestions on how to resolve this?

Thank you for your help!

Best,
Darshan Hiranandani

Hi Darshan,

You can remove parameters from an extra search only by using an extra searches hook script: see: Removing input parameters for extra searches :: Funnelback 15 Help Center