파이썬 elasticsearch 및 당근
-
21-12-2019 - |
문제
Python Elastic Search를 사용하고 있으며 문서 클러스터링을 수행해야합니다.Carrot2 ( https://github.com/carrot2/elasticsearch-carrot2/a>)를 설치했습니다.
Python에서 Python에서 어떻게 Carrot Clustering 모듈을 호출합니까?
from elasticsearch import Elasticsearch
es = Elasticsearch()
es.search(.....)
. 해결책
Carrot2 플러그인은
에서 클러스터 된 문서에 액세스 할 수 있습니다..http://localhost:9200/_plugin/carrot2/ (or wherever your ES node is deployed)
사용 설명서 github 프로젝트 페이지에서
Pyelasticsearch에서 Carrot2 클러스터 액세스는 지원되지 않습니다.Pyelasticsearch의 검색 결과 위에 Carrot2를 적용 할 수 있습니다. Carrot2 Project review revieweake revie
제휴하지 않습니다 StackOverflow