Open clghks opened 1 year ago
cluster.name: "docker-cluster"
network.host: 0.0.0.0
#
#
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
xpack.security.http.ssl: enabled: false keystore.path: certs/http.p12
xpack.security.transport.ssl: enabled: false verification_mode: certificate keystore.path: certs/transport.p12 truststore.path: certs/transport.p12
cluster.initial_master_nodes: ["9d9ae4a8858c"]
http.cors.allow-origin: "*" http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE http.cors.allow-headers: "X-Requested-With,X-Auth-Token,Content-Type, Content-Length, Authorization"
3. https://github.com/javacafe-project/movie-finder
- node 설치 필수
- vue 프로젝트 실습환경 구성
/router/index.js
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue';
Vue.use(Router)
Vue.use(BootstrapVue)
Vue.use(IconsPlugin)
PUT http://localhost:9200/movie
{
"settings": {
"index": {
"analysis": {
"nori_token_analyzer": {
"type": "custom",
"tokenizer": "nori_user_dict_tokenizer"
}
}
}
},
"mappings": {
"properties" : {
"movieCd" : {"type" : "integer"},
"movieNm" : {"type":"text"},
"movieNmEn": {"type":"text"},
"prdtYear" : {"type":"integer"},
"repNationNm" : {"type" : "keyword"},
"regGenreNm" : {"type" : "keyword"}
}
}
}
// as_is
index : {
_index : indexName,
_type : typeName
}
// to_be index : { _index : indexName }
docker에 elasticsearch 설치