Go, Vantage point
가까운 곳을 걷지 않고 서는 먼 곳을 갈 수 없다.
Github | https://github.com/overnew/
Blog | https://everenew.tistory.com/
채용 공고를 빠르게 검색하는 용도로 Elastic Search를 사용하고 있는데, 채용 공고는 몇달이나 지난 것은 의미가 없기 때문에 날짜가 가까울수록 높은 Score를 낼 수 있도록 만들어야 한다. script_score를 사용하면 부분 텍스트나 숫자로 score를 만들기 때문에, Decay functions을 사용해야 한다. https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-decay Function score query | Elasticsearch Guide [8.11] | Elastic Keep in mind that taking the log() of ..
Local에 설치하거나 라이브러리를 사용하는 것이 아니라면, Elastic Search로의 endpoint URL로 직접 요청을 보내야 한다. 이를 위해서 HTTP를 사용한다. (HTTP를 편하게 작성하기 위해서 PostMan를 사용해 보자.) https://www.postman.com/downloads/ Download Postman | Get Started for Free Try Postman for free! Join 25 million developers who rely on Postman, the collaboration platform for API development. Create better APIs—faster. www.postman.com 1. 보안 인증 일단 엔드포인트로의 접근을 위..