ElasticBERT: Information Retrieval using BERT and ElasticSearch

Kelvin Jose
Analytics Vidhya
Published in
2 min readFeb 9, 2020

What I built is a simple Information Retrieval system using pretrained BERT model and elasticsearch. Recently elasticsearch announced text similarity search with vectors in this post. We convert text into a fixed length vector which would be saved into an elasticsearch index. Then we use cosine similarity metric to figure out the most similar content out of the index. This is the…