Chapter 2: Insert and Get query | Elasticsearch using Python

preview_player
Показать описание
Second chapter to illustrate how the data can be inserted into the Elasticsearch index and how we can retrieve the data present in the index using the GET query.

Рекомендации по теме
Комментарии
Автор

Thank you very much. NOBODY has done this like this ever. Simple and basic. Good JOB!

aryankhadiri
Автор

I think from elastic search 8.* onwards they have removed doc_type.eg es.index(index=index_name, doc_type="provider", body=data) will give you error of TypeError: Elasticsearch.index() got an unexpected keyword argument 'doc_type'

raviraj_pawar
Автор

Bro how can we read kafka offset using python and save into es.

kavyanshpandey
Автор

Hi Amogh... When i am creating index using Elasticsearch in Jupyter Note.

I got ConnectionRefusedError: ConnectionError: object at 0x0C7FB2B0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it) caused by: object at 0x0C7FB2B0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it).
What can be the reason?

anilsharma
Автор

Hi, can you please help me i got this error
RequestError(400, 'no handler found for uri [/cities/places/1] and method [PUT]', 'no handler found for uri [/cities/places/1] and method [PUT]')

u.hemanthkumargowd
Автор

Nice once, though as a beginner I could not understood the difference between indices (used in last video) and index (used in this video).

shivanshusrivastava
Автор

City: London, Country: England
Nice 😂
I thought England is my city

m_at
Автор

thanks .. how do we select to show one field from _source. Say just get 'country' field from _source? I am looking for the syntax to filter the field exactly.

getluckyonline
Автор

Thank you very much for your videos, your github link is not working . Add more videos of elastic seach

sanandapodder
Автор

hi,
can someone help me out, I got warning on creating data
[types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id}).
warnings.warn(message,
{'_index': 'cities', '_type': 'place', '_id': '1', '_version': 1, 'result': 'created', '_shards': {'total': 2, 'successful': 1, 'failed': 0}, '_seq_no': 0, '_primary_term': 1}

beatenfrops
Автор

bhai how we see this data on elasticsearch

aniketsingh