Version: 5.2.2

I'm currently sorting by dynamic fields and a timestamp and want to utilize the search_after property.  Unfortunately, for certain fields that are missing the dynamic field, they return "Infinity" or "-Infinity" in the sort property result set.  When passing back those Infinity values in any position (either as a String or as a really high Number), ES seems to just return the first page of results again.

[Example sort against docs that don't have the dynamic field.](

Has anyone had to overcome this before?

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB