• 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

digitalpoint

Well-known member
#1
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.
 

Mike

XenForo developer
Staff member
#2
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.