Search Engine
-
curl -XDELETE http://localhost:9200/*
kibana 구동 시 resource_already_exists_exception 장애 해결 방법curl -XDELETE http://localhost:9200/*
2023.07.22 -
Disk 용량 10% 이상 확보 필요 curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '{ "index.blocks.read_only_allow_delete" : null }' -H 'Content-Type: application/json'
elasticsearch [..all indices on this node will be marked read-only..] 장애 처리Disk 용량 10% 이상 확보 필요 curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '{ "index.blocks.read_only_allow_delete" : null }' -H 'Content-Type: application/json'
2022.05.05 -
git clone https://github.com/ElasticHQ/elasticsearch-HQ.git pip install -r requirements.txt python ./manage.py runserver 접속: http://localhost:5000 1). 'Request' object has no attribute 'is_xhr' 장애 발생 시 pip install werkzeug==0.16.1
elasticsearch 7.16.3 환경에서 elasticsearch-hq 3.5.12 설치git clone https://github.com/ElasticHQ/elasticsearch-HQ.git pip install -r requirements.txt python ./manage.py runserver 접속: http://localhost:5000 1). 'Request' object has no attribute 'is_xhr' 장애 발생 시 pip install werkzeug==0.16.1
2022.02.05 -
error log elastic "No processor type exists with name [attachment]" sudo bin/elasticsearch-plugin install ingest-attachment
elasticsearch "No processor type exists with name [attachment]" 장애 해결error log elastic "No processor type exists with name [attachment]" sudo bin/elasticsearch-plugin install ingest-attachment
2022.02.04 -
장애 로그 max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 조치 방법 sudo sysctl -w vm.max_map_count=262144 vi /etc/security/limits.conf @student - maxlogins 4 kogun82 soft nofile 65536 kogun82 hard nofile 65536 kogun82 hard nproc 65536 kogun82 soft nproc 65536 kogun82 soft memlock unlimited kogun82 hard memlock unlimited # End of file
elasticsearch 구동 시 max file descriptors 장애 조치 방법장애 로그 max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 조치 방법 sudo sysctl -w vm.max_map_count=262144 vi /etc/security/limits.conf @student - maxlogins 4 kogun82 soft nofile 65536 kogun82 hard nofile 65536 kogun82 hard nproc 65536 kogun82 soft nproc 65536 kogun82 soft memlock unlimited kogun82 hard memlock unlimited # End of file
2019.10.04 -
elasticsearch 5.5.0 버젼 실행 시 다음과 같은 장애가 발생했을 경우 장애: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 조치 방법: 해결 방법 1 sudo sysctl -w vm.max_map_count=262144 해결 방법 2 vi /etc/sysctl.conf vm.max_map_count=262144
elasticsearch 구동 시 max virtual memory 장애 조치 방법elasticsearch 5.5.0 버젼 실행 시 다음과 같은 장애가 발생했을 경우 장애: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 조치 방법: 해결 방법 1 sudo sysctl -w vm.max_map_count=262144 해결 방법 2 vi /etc/sysctl.conf vm.max_map_count=262144
2018.10.30 -
solr create -c $collection_name -d $conf_dir $conf_dir: conf 경로에 미리 data-import.xml, solrconfig.xml manage-shem.xml 등의 파일이 설정되어 위치해야 한다. $collection_name: 사용할 collection 이름
Apache Solr Collection 생성solr create -c $collection_name -d $conf_dir $conf_dir: conf 경로에 미리 data-import.xml, solrconfig.xml manage-shem.xml 등의 파일이 설정되어 위치해야 한다. $collection_name: 사용할 collection 이름
2018.08.10 -
1). Java MySQL connector 를 다운받고 sole 웹 서버의 라이브러리 폴더에 복사한다. ~/solr-5.3.0/server/solr-webapp/webapp/WEB-INF/lib 2). 생성한 core 폴더 /conf/solrconfig.xml 파일에 아래의 내용을 추가한다. data-config.xml 3). 생성한 core 폴더 /conf/data-config.xml 파일을 생성하고 아래의 내용을 추가한다. 4). 생성한 core 폴더 /conf/ managed-schema 파일에 데이터베이스에서 가져오는 정보와 같도록 filed 를 설정한다. user_id 5). solr 데몬을 다시 재시작 한다. 명령어 예제 ./solr restart -s /home/kogun82/workspa..
Apache Solr-5.3.0과 MySQL 연동 및 인덱스 생성1). Java MySQL connector 를 다운받고 sole 웹 서버의 라이브러리 폴더에 복사한다. ~/solr-5.3.0/server/solr-webapp/webapp/WEB-INF/lib 2). 생성한 core 폴더 /conf/solrconfig.xml 파일에 아래의 내용을 추가한다. data-config.xml 3). 생성한 core 폴더 /conf/data-config.xml 파일을 생성하고 아래의 내용을 추가한다. 4). 생성한 core 폴더 /conf/ managed-schema 파일에 데이터베이스에서 가져오는 정보와 같도록 filed 를 설정한다. user_id 5). solr 데몬을 다시 재시작 한다. 명령어 예제 ./solr restart -s /home/kogun82/workspa..
2017.07.13