Driver for Python with TCP

Hi I am working with the python driver for elasticsearch.
according to the docs here

And it uses http with port 9200 to connect and work with elastic for the queries.

Is there a way I can use TCP 9300 using the python driver?

I ask because on Java, I used a driver that used TCP 9300 to connect and was way more fast.

The transport protocol, which be default uses port 9300, is only available on the JVM, and we are moving to deprecate this and replace it with a high-level REST client also for Java. All non-JVM based clients, including the Python client, are restricted to using the HTTP protocol on port 9200. That said, the difference in performance between HTTP and the transport protocol should not be very large.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.