Home / Insights / Generative AI and LLMs
Generative AI and LLMs
Multilingual Enterprise Search: Retrieval Across English, Vietnamese and Other Languages
A knowledge base written in two or three languages breaks most search set-ups that were tuned for English. This guide explains where multilingual retrieval fails, how to choose between keyword, dense and hybrid approaches, and how to test that answers are as good in Vietnamese as they are in English.
Key takeaways
- Decide early whether you need monolingual search in several languages or true cross-lingual search, where a question in one language must find documents in another; the architectures differ.
- Keyword search needs language-specific analysis, and some languages, including Vietnamese, are poorly served by default analysers, so test tokenisation on real documents before trusting it.
- Modern multilingual embedding models retrieve well across many languages, but quality varies by language and domain, so measure on your own data rather than relying on benchmark averages.
- Hybrid retrieval, combining keyword and vector results with re-ranking, is the most robust default for mixed-language corpora.
- Build an evaluation set with questions and judged answers in every language you support; without it, a system that works in English can quietly fail everyone else.
On this page
- What kind of multilingual search do you actually need?
- Where does keyword search break across languages?
- How well do multilingual embeddings handle retrieval across languages?
- Why is hybrid retrieval the safest default for mixed-language corpora?
- How do you evaluate quality in every language?
- What operational and governance issues come with multilingual search?
- Checklist: multilingual enterprise search
- Frequently asked questions
- Sources and methodology
Companies operating across Vietnam, Singapore, Australia and Europe rarely have a single-language knowledge base. Policies are written in English, operational procedures in Vietnamese, supplier contracts in a mix, and support tickets in whatever language the customer used. When staff ask a question, they expect the search or assistant to find the right document regardless of which language it was written in, and to answer in the language they asked.
This article is for CTOs, product owners and knowledge managers planning enterprise search or a retrieval-augmented generation (RAG) assistant over a multilingual document set. It explains the specific ways multilingual retrieval fails, how to choose between keyword, dense vector and hybrid approaches, what to check about Vietnamese and other languages that English-centric tools handle badly, and how to evaluate the result. It builds on our earlier articles on choosing an embedding model and permission-aware search, which cover the single-language foundations.
Our enterprise knowledge search service combines document ingestion, hybrid search with re-ranking and grounded answering with citations; the multilingual considerations below are the ones we work through with clients whose content is not only in English.
What kind of multilingual search do you actually need?
The word multilingual covers several different requirements, and each changes the design. Before any technology choice, agree which of these you are building.
Three requirement levels
| Level | What it means | Typical example | Design implication |
|---|---|---|---|
| Monolingual, several languages | Queries in language X find documents in language X; languages are separate collections | A Vietnamese HR handbook and an English HR handbook, each searched by its own audience | Per-language analysis and indexes; simplest to get right |
| Mixed-language corpus, same-language queries | One index holds documents in several languages; users search in the document’s language | Support tickets and procedures in both languages, searched by bilingual staff | Language detection per document or chunk; per-language analysers in one index |
| Cross-lingual | A query in one language must find and use documents in another | An Australian manager asking in English about a procedure documented only in Vietnamese | Multilingual embeddings or translation; answer generation across languages; hardest to evaluate |
Most organisations start by assuming they need the first level and discover during discovery that they need the third. For example, a 200-person manufacturer with a Vietnamese factory and an Australian head office might find that the questions with highest business value are precisely the ones where the asker and the document are in different languages.
Questions to settle in discovery
- Which languages appear in the documents, and in what proportion? Sample the corpus rather than guessing.
- Which languages will users type questions in, and should answers come back in the question’s language?
- Are there documents that exist in several language versions, and should the system prefer the user’s language version?
- How much domain terminology is untranslated or borrowed, such as English product names inside Vietnamese text?
- Do access permissions differ by language or region?
Action: write a one-paragraph statement of the requirement level and the language pairs that matter, with three example questions for each pair.
Where does keyword search break across languages?
Keyword search engines based on Apache Lucene, including Elasticsearch and OpenSearch, depend on an analysis chain: character filters, a tokeniser that splits text into terms, and token filters that lower-case, remove stop words and stem words to their root. These chains are language-specific, and that is where multilingual corpora run into trouble.
Language coverage is uneven
The Lucene analysis module ships analysers for several dozen languages, from Arabic and Bengali to Thai and Turkish, plus a combined package for Chinese, Japanese and Korean. Vietnamese is not among them. Teams who index Vietnamese with the standard analyser get syllable-level tokens with no understanding of multi-syllable words, which hurts both precision and recall.
Specific problems with Vietnamese
- Word boundaries. Vietnamese is written with spaces between syllables, not between words. Many words are two or more syllables, so a tokeniser that splits on spaces produces fragments that match unrelated documents. A query for a two-syllable term can match any document containing either syllable.
- Diacritics and encoding. Vietnamese uses many diacritics, and the same visible character can be encoded as a single precomposed code point or as a base letter plus combining marks. Documents from different sources often mix the two, so identical words fail to match unless text is normalised to one form at index and query time.
- Typing without diacritics. Users on phones or in a hurry often type without tone marks. Decide whether to support diacritic-insensitive matching and accept the ambiguity it introduces.
- Mixed English terms. Product names, system names and technical vocabulary often stay in English inside Vietnamese sentences, so the analyser must handle both scripts in one field.
Problems with other languages
Languages written without spaces, such as Chinese, Japanese, Thai and Khmer, need dictionary-based segmentation. ICU’s boundary analysis applies Unicode word-boundary rules and adds dictionaries for Chinese, Japanese, Thai, Lao, Khmer and Burmese, which is why ICU-based tokenisers are a common first step for mixed-script corpora. Germanic languages need compound splitting; morphologically rich languages need good stemming or lemmatisation.
Practical approach for keyword search
- Detect the language of each document or chunk at ingestion and store it as metadata.
- Index text into language-specific fields with the appropriate analyser, or use a multi-field with one sub-field per language.
- For Vietnamese, add a word-segmentation step before indexing, using a Vietnamese tokeniser library or a dictionary-based approach, and normalise Unicode consistently.
- At query time, detect the query language and search the matching field, or search all language fields and combine scores.
- Test the analyser on real documents by inspecting the tokens produced, not just by running queries.
Action: run your analyser over twenty representative Vietnamese paragraphs and review the tokens with a native speaker before indexing the corpus.
How well do multilingual embeddings handle retrieval across languages?
Dense retrieval encodes queries and passages as vectors and finds the nearest matches. Multilingual embedding models are trained so that the same meaning in different languages lands close together, which makes cross-lingual retrieval possible without translation.
What the evidence says
Research models such as M3-Embedding, described in a February 2024 paper, support retrieval across more than 100 languages, handle inputs up to 8,192 tokens, and combine dense, sparse and multi-vector retrieval in one model, with the authors reporting strong results on multilingual and cross-lingual benchmarks. Commercial options have moved the same way: OpenAI’s embeddings documentation describes its third-generation models as offering higher multilingual performance than earlier ones, with an option to shorten vectors to fit storage constraints.
Benchmarks give a sense of the landscape. MIRACL is a multilingual retrieval dataset across 18 languages with over 700,000 relevance judgments made by native speakers, and it is widely used to compare models. What benchmark averages hide is variance: a model that scores well on average can be noticeably weaker on one specific language or on domain-specific text, so published numbers are a shortlist tool, not a decision.
Strengths and limits for enterprise use
| Aspect | Multilingual dense retrieval | Keyword retrieval |
|---|---|---|
| Cross-lingual queries | Works natively when the model is strong in both languages | Needs translation of query or documents |
| Exact terms, codes, product names | Weak; may blur distinct identifiers | Strong |
| Languages with poor analyser support | Often better than a badly tokenised keyword index | Depends on available analysers |
| Explainability | Hard to explain why a passage matched | Matched terms can be highlighted |
| Domain adaptation | May need fine-tuning or a domain model | Synonyms and dictionaries |
| Cost at scale | Embedding and vector storage costs | Lower compute; index size manageable |
Choosing and hosting a model
- Shortlist two or three multilingual models, including at least one open model you could host yourself if data residency requires it.
- Check tokeniser behaviour on Vietnamese: some models spend many more tokens per word on Vietnamese than on English, which affects cost and the amount of text per chunk.
- Decide vector dimensions against storage and latency budgets; shortened vectors can be a reasonable trade.
- Measure on your own evaluation set, not only on public benchmarks.
Action: embed a sample of 500 chunks in each language with each shortlisted model and compare retrieval on your own test questions before committing.
Why is hybrid retrieval the safest default for mixed-language corpora?
Neither approach alone handles everything. Keyword search is precise on identifiers and explainable; dense retrieval bridges languages and phrasing. Hybrid retrieval runs both, merges the candidates and re-ranks them.
A reference pipeline
- Ingestion. Parse documents, detect language per chunk, normalise Unicode, segment Vietnamese and other languages that need it, and store language and source metadata.
- Dual indexing. Index each chunk into a keyword index with language-specific analysis and into a vector index with a multilingual embedding model.
- Query processing. Detect query language; optionally generate a translated variant of the query for the keyword index if the target documents are in another language.
- Candidate retrieval. Fetch top results from both indexes, applying permission filters at query time.
- Fusion. Merge candidates using a method such as reciprocal rank fusion, so neither index dominates.
- Re-ranking. Score the merged candidates with a multilingual cross-encoder re-ranker that reads the query and passage together.
- Answer generation. Pass the top passages to the language model with instructions to answer in the user’s language and cite sources, and to say when nothing relevant was found.
Design decisions that matter
- Translation or not. Translating the whole corpus into one pivot language simplifies keyword search but adds cost, latency on updates and translation errors on terminology. Translating only the query is cheaper but relies on the translator knowing your domain. Multilingual embeddings often remove the need for either, with translation reserved as a fallback for weak language pairs.
- Preferring the user’s language version. When a document exists in several languages, boost the version matching the query language, but keep the others as fallbacks.
- Chunking across languages. Chunk size in tokens means different amounts of text per language. Set chunking by meaning units, such as sections and paragraphs, and check that Vietnamese chunks are not cut mid-sentence. Our guide to chunking strategies for enterprise RAG covers the general method.
- Answer language. Instruct the model explicitly; otherwise it may answer in the language of the retrieved passages rather than the question.
For example, a logistics company might find that English queries about a Vietnamese customs procedure retrieve well through embeddings, but the specific form codes in the answer are only reliable when the keyword index also matches them. Hybrid retrieval with re-ranking gives both.
Action: implement fusion and re-ranking from the start rather than adding them later; retrofitting them changes relevance behaviour users have already learned.
How do you evaluate quality in every language?
A multilingual system that is only evaluated in English will drift towards serving English users. Evaluation must be per language and per language pair.
Build the evaluation set
- Collect real questions from staff in each language, aiming for at least 50 per language and per cross-lingual pair you support, with more for high-value areas.
- Have native speakers mark which documents or passages correctly answer each question.
- Include hard cases: questions with English product names inside Vietnamese text, questions typed without diacritics, and questions where the answer exists only in the other language.
- Version the set and extend it whenever a failure is reported.
Metrics to track
| Metric | What it tells you | Report by |
|---|---|---|
| Recall at k | Whether the right passage is in the top k candidates | Language of query, language of document |
| Mean reciprocal rank or nDCG | How high the right passage is ranked | Language pair, document type |
| Answer faithfulness | Whether the generated answer is supported by the retrieved passages | Answer language |
| Answer language correctness | Whether the answer came back in the language asked | Query language |
| Abstention accuracy | Whether the system correctly says it cannot find an answer | All languages |
Compare, do not assume
Report every metric side by side for each language. If Vietnamese recall sits well below English recall, the cause is usually tokenisation, chunking or a model weakness in that language, each of which has a different fix. Our article on combining offline test sets with user feedback describes how to keep this evaluation running after launch.
Action: make per-language evaluation results a release gate; a change that improves English but degrades Vietnamese should not ship.
What operational and governance issues come with multilingual search?
Beyond retrieval quality, multilingual systems raise practical issues that are easier to handle at design time.
- Language detection errors. Short chunks, code-mixed text and tables confuse detectors. Store a confidence score and fall back to multilingual handling when confidence is low.
- Permissions across regions. A Vietnamese operations document may be restricted to the Vietnamese entity. Apply permission filters at query time regardless of language, as described in our permission-aware search article.
- Data residency and hosting. Some clients need embeddings and indexes to stay in a specific cloud region or account. Open multilingual models that you can host yourself make this possible; check model licences.
- Freshness. Documents are updated in one language before the other. Track version and translation status so the assistant can note when a translation may be outdated.
- Terminology management. Maintain a glossary of domain terms and their equivalents, and use it for synonyms in keyword search and for prompting the answer model.
- Cost. Embedding tokens, vector storage and re-ranking all scale with corpus size and language count. Vietnamese and other languages that tokenise into more pieces cost more per document; include this in the estimate.
- User feedback by language. Capture thumbs up or down with the query language, so you can see whether satisfaction differs between user groups.
Action: add language, translation status and permission scope to every chunk’s metadata at ingestion; it is far cheaper than re-indexing later.
Checklist: multilingual enterprise search
- Requirement level agreed: monolingual per language, mixed corpus, or cross-lingual, with example questions per language pair.
- Corpus sampled for language mix, code-mixing and encoding inconsistencies.
- Language detected and stored per chunk, with confidence.
- Unicode normalised consistently at index and query time.
- Vietnamese and other poorly supported languages segmented with a suitable tokeniser; tokens reviewed by a native speaker.
- Keyword index uses language-specific analysis per field.
- Multilingual embedding model shortlisted and compared on your own data in each language.
- Hybrid retrieval with fusion and multilingual re-ranking in place.
- Answer generation instructed to reply in the query language and cite sources.
- Per-language evaluation set built, with metrics reported side by side and used as a release gate.
- Permissions, residency, freshness and glossary handled in metadata and configuration.
Teams that work through this list usually find that the extra effort over an English-only system is concentrated in ingestion and evaluation rather than in the retrieval stack itself.
Frequently asked questions
Can we just translate everything into English and search that?
It is an option, but translation adds cost, delays updates and can mangle domain terminology. Multilingual embeddings often remove the need. Translation works best as a fallback for language pairs where embedding quality is weak.
Why does Vietnamese search perform worse than English with the same tools?
Common causes are tokenisation at syllable level rather than word level, inconsistent Unicode encoding of diacritics, queries typed without tone marks, and embedding models that are weaker on Vietnamese than on English. Each has a specific fix.
Do we need separate indexes per language?
Not necessarily. One index with language-specific fields and per-chunk language metadata usually works. Separate indexes make sense when languages have different access rules or update cycles.
Which embedding model is best for Vietnamese?
It depends on your domain and on hosting constraints. Shortlist multilingual models, including open models you could host, and compare them on your own Vietnamese and English test questions rather than on benchmark averages.
How many test questions do we need per language?
At least 50 per language and per cross-lingual pair is a practical minimum, judged by native speakers, with more for high-value topics. Extend the set whenever users report a failure.
Will the assistant answer in the language the user asked?
Only if instructed to. Set the answer language explicitly in the prompt based on detected query language, and check it in evaluation, because models sometimes follow the language of the retrieved passages instead.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- Apache Lucene: Analysis module (common analyzers) — accessed 10 November 2026. Supports the description of analysis chains and the list of built-in language analysers, which does not include Vietnamese.
- ICU User Guide: Boundary Analysis — accessed 10 November 2026. Supports the point that dictionary-based word segmentation is needed for Chinese, Japanese, Thai, Lao, Khmer and Burmese.
- arXiv: M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings (February 2024) — accessed 10 November 2026. Supports the description of multilingual embedding models covering 100+ languages with dense, sparse and multi-vector retrieval and 8,192-token inputs.
- arXiv: MIRACL: A Multilingual Retrieval Dataset Covering 18 Diverse Languages (October 2022) — accessed 10 November 2026. Supports the description of MIRACL as an 18-language benchmark with over 700,000 native-speaker relevance judgments.
- OpenAI: Embeddings guide — accessed 10 November 2026. Supports the statement that third-generation OpenAI embedding models offer higher multilingual performance and support shortened dimensions.
Related reading
Continue your research
Does your knowledge base need to work in Vietnamese and English?
Share a sample of your documents and the questions your teams ask, and we will assess tokenisation, embedding options and an evaluation plan for each language.
