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

Fixed Error when rebuilding search index if per page > 2500

Discussion in 'Enhanced Search Resolved Bugs' started by Mike, Jan 18, 2012.

  1. Mike

    Mike XenForo Developer Staff Member

    In library/XenES/Search/SourceHandler/ElasticSearch.php, change:
    $result = XenES_Api::indexBulk($indexName, $contentType, $this->_bulkInserts[$contentType]);
    $result = XenES_Api::indexBulk($this->_indexName, $contentType, $this->_bulkInserts[$contentType]);
    The other (easy) way to prevent it is to not push the number of items to process per page over 2500.
    tafreehm and lazy llama like this.
  2. Gladius

    Gladius Well-Known Member

    A year later and this fix still isn't in the version of ES I downloaded just now... good thing Google's up to date, at least. :rolleyes:
    Mouth likes this.

Share This Page