Nested query resulting in missing source fields?

I have a monstrous query with a monstrous response. It was originally
written to work around some limitations in Elasticsearch 0.8, if I remember
right, namely missing grouping.

I'm having an issue where a certain nested query inside of a dis_max is
producing hits that don't contain any source fields, and I see no reason
why this should be the case.

You don't have to study these in detail, just skim the first one to the
'nested' part and glance at the results, then do the same for the second
one (note the missing 'nested' part, and all the extra data in the results).


I'm a dog flying an airplane at this point, anybody know where to look next?

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit