Keyword search vs. semantic search
| Keyword search | Semantic search | |
|---|---|---|
| Matching | Exact word or phrase match | Meaning and concept similarity |
| Query style | Terms and operators | Natural language questions or descriptions |
| Finds synonyms | No | Yes |
| Understands context | No | Yes |
| Example | machine learning python | how do I train a neural network in Python? |
Using the Search view
Type your query
Enter a question, phrase, or description in plain language. There is no need for special operators.
Apply filters (optional)
Use the document type filter to narrow results to a specific file format — for example, limit results to PDF files only, or to a specific code language.
Understanding results
Each search result includes:- Document name — the file the matching chunk came from
- Document type — file format (PDF, TS, PY, etc.)
- Category — the auto-detected category (Code, Report, Legal, etc.)
- Chunk text — the exact passage from the document that matched
- Similarity score — a value between 0 and 1 indicating how closely the chunk meaning matches your query
Score threshold
The Search view applies a default score threshold of 0.5. Chunks with a similarity score below 0.5 are excluded from results. This keeps results relevant and reduces noise.Filtering by document type
You can restrict search to one or more document types. This is useful when your library contains many different formats and you already know the file type of what you are looking for.Example: search only code files
Example: search only code files
Select
JS, TS, or PY from the document type filter before running your query. Prism will only search vector chunks from files with those extensions.Example: search only PDFs
Example: search only PDFs
Select
PDF from the document type filter. This is useful when searching a library that contains both PDFs and image files on the same topic.How it works
Every search query goes through the same embedding pipeline used during document upload:- Your query text is sent to Gemini’s
text-embedding-004model. - Gemini returns a 768-dimensional vector representing the semantic meaning of the query.
- Qdrant performs a cosine similarity search against all indexed chunks for your account.
- Chunks above the score threshold are returned, sorted by relevance.
Search results are always scoped to your account. You can only find documents you have uploaded.
Tips for better searches
- Ask complete questions — “What does the license agreement say about sublicensing?” works better than “sublicense”.
- Use domain language — technical terms specific to your documents produce more precise matches.
- Try multiple phrasings — if results are weak, rephrase the question from a different angle.
- Use type filters — if you know the file type, filtering narrows the search space and improves precision.
- Check the chunk text — the matching passage shows exactly what Prism found. If the snippet is relevant but incomplete, open the source document for the full context.