-
두 번째 과제: ElasticSearch개인 프로젝트 A 2024. 8. 28. 19:37
Retrieval Model + Reader Model의 앞단에 해당하는 Retrieval Model을 제작했다. 아래 페이지를 참조했다.
https://dylancastillo.co/posts/elasticseach-python.html
어려운 부분은 전혀 없었다. 이미 크롤링을 통해 데이터도 확보해 놓았고 위 페이지에서 안내도 친절하게 해주었다. 다만, 위 페이지에서 es.search 함수의 경우 "match_phrase"에서 "match"로 변경했다. "match_phrase"를 사용할 경우 아예 검색이 안 되는 경우가 빈번했기 때문이다. 사용자가 다양한 검색법을 활용할 수 있게 여러 부가 기능을 넣을 수도 있을 것 같지만, 넣어봤자 아무도 안 쓰겠지....?
'개인 프로젝트 A' 카테고리의 다른 글
세 번째 과제: Reader Model + Gradio (4) 2024.08.28 [Coursera] Text Retrieval and Search Engines (MODULE 7) (0) 2024.07.25 [Coursera] Text Retrieval and Search Engines (MODULE 6) (0) 2024.07.25 [Coursera] Text Retrieval and Search Engines (MODULE 5) (0) 2024.07.22 [Coursera] Text Retrieval and Search Engines (MODULE 4) (0) 2024.07.22