document 데이터 insert 하는 방법 { key : value } object 형태로 document 데이터를 insert 한다. insertOne() 으로 한개 데이터 넣기 db.diary.insertOne({ "content" : "재미있는 오늘!", "userId" : 11, "weather" : "sunny", "writtenAt" : "2023-02-18T00:00:00.000Z", "deleted" : false}); insertMany()로 여러개의 데이터 넣기 [ {}, {}, ...] 배열로 데이터를 넣는다. db.diary.insertMany([ { "content" : "hello world", "userId" : 22, "weather" : "cloudy", "written..
Full Text Search Index (전문 검색 인덱스) MongoDB에서 제공하는 Full Text Search (전문 검색) 기능을 사용하여 검색 기능을 구현하던 중 에러가 발생하였다. Text index required for $text query Full Text Search Index 를 생성하지 않아 발생하는 에러 Full Text Search Index 생성하기 Collection level db.컬렉션명.createIndex( { "$**": "text" } ) Field level db.컬렉션명.createIndex( { title: "text", contents: "text" } ) Full Text Search Index 삭제 index 의 이름으로 삭제한다. db.컬렉션명.dr..
- Total
 
- Today
 
- Yesterday
 
- Linux
 - redisson 분산락
 - MultipleBagFetchException
 - FetchJoin
 - n+1
 - port
 - 스프링 스케줄링
 - checkout
 - 티스토리챌린지
 - MongoDB
 - Cannot construct instance of
 - junit5
 - Spring Security
 - Kotlin
 - JPA
 - ChatGPT
 - spring boot 3
 - 배열
 - dto 클래스 생성자
 - 추상클래스
 - addFilterBefore
 - bucket4j
 - Git
 - 오블완
 - 스프링오류
 - jvm warm-up 전략
 - array
 - QueryDSL
 - 자바 어플리케이션 실행 과정
 - Java
 
| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 |