728x90
Elasticsearch index() ERROR: ApiError(406, 'Content-Type header [application/vnd.elasticsearch+x-ndjson; compatible-with=8] is not supported', 'Content-Type header [application/vnd.elasticsearch+x-ndjson; compatible-with=8] is not supported')
라는 오류가 발생하였다. 알고보니 내가 올린 ElasticSearch 버전은 7이고, pip install 한 python module은 8버전 Client였다. 그래서 pip uninstall 후 pip install elasticsearch7 로 재설치 하였다.
'Programming > Python' 카테고리의 다른 글
SQL Alchemy) BEGIN ISOLATION LEVEL READ COMMITTED 이 보이면서 지연이 발생하는 현상 (0) | 2024.06.13 |
---|---|
Nori Tokenizer를 활용한 검색서버 개발 (1) | 2023.10.23 |
SQLAlchemy Metadata로 테이블, 쿼리 개발. JOIN 샘플 (0) | 2023.10.17 |
Python 에서 pip install할때 발생하는 오류들 (0) | 2023.03.21 |
(Python) Pytest로 Unit-test 구현하기 (0) | 2021.05.31 |