Take full control of your search setup for optimal results
Adjust your semantic ratio to achieve the ideal balance between AI-powered semantic search and full-text search capabilities.
Full-text search ➜
Best when you know precisely what to look for
Semantic search ➜
Ideal when searching for concepts instead of focusing solely on words
✨ Hybrid search
Combine the best of both worlds
The easiest path to creating a top-notch search experience
Search enters your AI application stack
Meilisearch comes with tailored SDKs for your favorite framework or language.
from langchain.vectorstores import Meilisearch
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.document_loaders import JSONLoader
# Load documents
loader = JSONLoader(
file_path="./movies.json",
jq_schema=".[] | {id: .id, title: .title, overview: .overview}",
text_content=False,
)
documents = loader.load()
# Index documents
embeddings = OpenAIEmbeddings()
vector_store = Meilisearch.from_documents(documents=documents, embedding=embeddings)
# Search
query = "superhero fighting villains in a city corrupted by crime"
results = vector_store.similarity_search(
query=query,
k=3,
)
18K USERS WORLDWIDE ARE USING MEILISEARCH TO POWER THEIR SEARCH EXPERIENCE.