Design issue _getSqlLimitedHits() doesn't work without _source

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.
 
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.
 
Back
Top Bottom