In the rapidly evolving field of language models and information retrieval, various search methods are employed to enhance the accuracy and relevance of results. Understanding these methods is crucial for developing systems that can efficiently handle complex queries and large datasets. Below, we delve into some key search techniques, highlighting their features and applications.


➤ Vector Search

Vector search converts queries and documents into high-dimensional vectors using techniques like word embeddings (e.g., Word2Vec, GloVe) or sentence encoders (e.g., BERT, RoBERTa). By representing text numerically, this method captures semantic meanings and relationships between words.


➤ Semantic Search

Semantic search focuses on understanding the intent and contextual meaning behind a query. It employs advanced natural language processing (NLP) techniques to interpret the query's context and retrieve documents that match the intended meaning.


➤ Keyword Search

Keyword search is a traditional method that looks for exact or partial matches of query terms within documents. It's fast and straightforward but may overlook relevant results if the exact keywords aren't present.