ivfflat #ann #vectordb #pgvector #postgresql #인덱싱1 IVFFlat **IVFFlat(Inverted File Flat)**은 ANN(Approximate Nearest Neighbor) 검색을 위한 인덱스 방식1. 프로젝트 내 IVFFlat 구현1.1 인덱스 생성-- init.sql에서 구현된 IVFFlat 인덱스 설정CREATE INDEX prompt_vector_idx ON prompts USING ivfflat (embedding_vector vector_l2_ops)WITH (lists = 100);1.2 CustomVectorRepository에서의 활용@Repository@RequiredArgsConstructorpublic class CustomVectorRepository { public List findSimilarPrompts(double[.. 2024. 11. 17. 이전 1 다음