elasticsearch/elasticsearch — Issue #1721: improve fetch optimizations
Author: mattweber
Created: 2012-02-20 15:30:19+00:00
State: open

From mailing list:

"there is an optimization to not check each mapping specifically per hit, but try to guess what to fetch on the "search" level (and not per hit) and then use it for all the hits. We can improve it though."

This is in response to an issue where documents from 2 different types containing the same fields names and different "stored" settings, do not return the requested fields from the source because ES thinks they are already stored (as they are in the first type).