Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다.
문의사항은 gooper@gooper.com로 메일을
보내주세요.
아래에서 example/solr-webapp/WEB-INF/lib/*
org.apache.solr.cloud.ZkCLI 로 언급된것은.. 배포하는 solr-4.10.1.zip파이을 압축해제하면
ZooKeeper has a utility that lets you pass command line parameters: zkcli.bat
(for Windows environments) and zkcli.sh
(for Unix environments).
zkcli
Parameters
Short | Parameter Usage | Meaning |
---|---|---|
|
| CLI Command to be executed: |
|
| Display help text. |
|
| For |
|
| For |
|
| For |
|
| For |
|
| Run ZooKeeper internally by passing the Solr run port; only for clusters on one machine. |
|
| ZooKeeper host address. |
The short form parameter options may be specified with a single dash (eg: -c mycollection
).
The long form parameter options may be specified using either a single dash (eg: -collection mycollection
) or a double dash (eg: --collection mycollection
)
ZooKeeper CLI Examples
Below are some examples of using the zkcli
CLI:
Uploading a Configuration Directory
Put arbitrary data into a new ZK file
Put a local file into a new ZK file
Linking a Collection to a Configuration Set
Bootstrapping All the Configuration Directories in solr.xml
Scripts
There are scripts in example/cloud-scripts
that handle the classpath and class name for you if you are using Solr out of the box with Jetty. Commands then become:
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
4 | solr 6.2에 한글 형태소 분석기(arirang 6.x) 적용 및 테스트 | 총관리자 | 2017.06.27 | 880 |
» | Using The ZooKeeper CLI에서 zkCli의 위치 | 총관리자 | 2014.11.02 | 881 |
2 | solr vs elasticsearch 비교2 | 총관리자 | 2014.09.29 | 1276 |
1 | solr설치및 적용관련 | 총관리자 | 2014.09.27 | 2124 |