implemented ESSearch on partitioned tables