1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enhanced Search server config

Discussion in 'Enhanced Search Support' started by rys, Jul 30, 2015.

  1. rys

    rys Member

    Hey all,

    I use Enhanced Search, and I have different IPs for my elasticsearch instance in development and production. When I use my production backups to refresh the development instance, I need to change the elasticsearch server IP to the development one, so the development instance can pick it up.

    Is elasticSearchServer in xf_option the only place the IP configuration is stored? I have a script that replaces that value when I refresh my development instance, but recently the production IP is persisting.

    I'm running 1.4.10.

    Thanks in advance!
  2. Mike

    Mike XenForo Developer Staff Member

    That is the only place it's stored, but the option values are cached. You would need to trigger a rebuild of the option cache.
    rys likes this.
  3. rys

    rys Member

    Thanks for letting me know, that fits what I saw earlier. Is there a way to trigger a rebuild of the option cache by changing or populating a field in the database, or by hitting a certain admin page, or some other method?

Share This Page