fix #1099 add support for pre/post/dist to span not query
Merge pull request #1122 from elasticsearch/feature/span-not-query-updates

fix #1099 add support for pre/post/dist to span not query