index patent to elasticsearch