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

Elastic Search 5 and XF?

Discussion in 'Enhanced Search Support' started by dethfire, Oct 11, 2016.

  1. dethfire

    dethfire Well-Known Member

    Anyone try ES 5 with XF?
     
  2. Mike

    Mike XenForo Developer Staff Member

    It worked at one point as I made some changes in the latest release for it, but I've seen some subsequent indication that changes have broken it again. (Elasticsearch breaks backwards compatibility more than any package I've worked with before...)
     
    Xon and RoldanLT like this.
  3. The Sandman

    The Sandman Well-Known Member

    So... what is the currently recommended version of ElasticSearch for use with XF/Enhanced Search?
     
  4. Mike

    Mike XenForo Developer Staff Member

    2.4 is fine. ES 5 isn't stable yet (it only just hit RC yesterday).
     
    Xon, DroidOne, dethfire and 2 others like this.
  5. Moshe1010

    Moshe1010 Well-Known Member

    Why would one want to update to ES 5? What are the benefits?
     
  6. Mike

    Mike XenForo Developer Staff Member

    For most XF installs, likely minimal really -- it doesn't change the things we support. There may be things like performance improvements. The same reasons you'd upgrade PHP or MySQL really.
     
    RoldanLT likes this.
  7. Mike Fara

    Mike Fara Member

    Does the xf-date-weighted.groovy and/or xf-date-weighted.mvel script still work with ES5? From what I can tell it goes crazy when you have it installed and fails to work :?
     
  8. thedude

    thedude Well-Known Member

    Is this occurring with the recently released XFES 1.1.6?
     
  9. Mike Fara

    Mike Fara Member

    Yes

    Switched back to ES2 in the meantime
     
  10. Mike

    Mike XenForo Developer Staff Member

    Try just copying the groovy script. I used that without any issues (with an out of the box config).
     
  11. Sunka

    Sunka Well-Known Member

    Any noob steps to upgrade from 2.4 to 5?
     
  12. Mike Fara

    Mike Fara Member

  13. Mike Fara

    Mike Fara Member

    Currently very busy but I will give it another go within the next few days. Thanks Mike
     
  14. Mouth

    Mouth Well-Known Member

  15. XxUnkn0wnxX

    XxUnkn0wnxX Active Member

Share This Page