aparo / pyes

Python connector for ElasticSearch - the pythonic way to use ElasticSearch
BSD 3-Clause "New" or "Revised" License
607 stars 270 forks source link

how to use sort with ignore_unmapped #508

Open wdfsinap opened 8 years ago

wdfsinap commented 8 years ago

hi, I have problem with pyes with sort , because some field of documents is null or does not exit. so when i sort the results, i get errors. there is an option in ES with ignore_unmapped, how to use pyes with this option?

thanks