목록DB (87)
른록노트
[type과 index삭제하기] DeleteMapping APIhttps://www.elastic.co/guide/en/elasticsearch/reference/1.4/indices-delete-mapping.html[다시해본결과 안되네요..] [type안에 데이터 삭제하기] post [인덱스]/[타입명]/_delete_by_query{ "query": { "match_all": {} }} API사이트https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
1. RDB ElasticSearch 비교RDBElasticSearchDatabaseIndexTableTypeRowDocumentColumnField 참고사이트http://sarc.io/index.php/aws/565-aws-elasticsearch-index-document
Field datatypeseditElasticsearch supports a number of different datatypes for the fields in a document:Core datatypeseditstringtext and keywordNumeric datatypeslong, integer, short, byte, double, float, half_float, scaled_floatDate datatypedateBoolean datatypebooleanBinary datatypebinaryRange datatypesinteger_range, float_range, long_range, double_range, date_rangeComplex datatypeseditArray data..
예시) 쿼리스트링 방법eunbok_test/test_board/_search?q=*&_source_include=user_id,board_title,write_date 예시) 리퀘스트바디{ "_source": "받아올 필드", "query": { "match_all": {} }} "_source": { "includes": [ "obj1.*", "obj2.*" ], "excludes": [ "*.description" ] }, 참고사이트https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docs-get.html - 쿼리스트링https://www.elastic.co/guide/en/elasticsearch/reference/current/search-..
val newstr = str.replace("\r\n", "\\n")참고사이트https://stackoverflow.com/questions/2392766/multiline-strings-in-json
참고사이트https://www.slideshare.net/dahlmoon/20160613
IFNULL(필드명, "대체할 값");필드가 null을 반환할때 대체할 값으로 변경 참고사이트http://ra2kstar.tistory.com/75