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

Design Issue _getSqlLimitedHits() doesn't work without _source

Discussion in 'Enhanced Search Resolved Bugs' started by digitalpoint, Feb 1, 2013.

  1. digitalpoint

    digitalpoint Well-Known Member

    There isn't a whole lot of reason to store the Elastic Search _source field other than for debugging purposes usually, but apparently XenES_Search_SourceHandler_ElasticSearch::_getSqlLimitedHits() uses it to populate the temporary table.

    Any way this could be changed to populate from the live database instead?

    Seems silly to double your ES index size so it can do a rarely used temp table population.
  2. Mike

    Mike XenForo Developer Staff Member

    Bit of a design issue, as querying it isn't really particularly feasible. However, _source isn't needed for it, just "store: yes" in the schema.
    Slavik likes this.

Share This Page