analyzers on a text field in your collection’s indexConfigs. If you omit it, LambdaDB uses ["standard"]. Analyzer selection is configured per field, not detected automatically for each document or query.
Choose an analyzer
Start with the languages in your documents and queries, then decide which word forms should match. Use one analyzer when it meets your needs; evaluate additional analyzers against specific missed matches rather than enabling every supported language.
Use the supported analyzer reference for the complete list. For identifiers or values that must match exactly, use a keyword index.
Standard or language-specific analysis
standard provides general-purpose tokenization and lowercasing without language-specific stemming. A language-specific analyzer can also remove common words, normalize characters, reduce inflected words to stems, or segment text using language-specific rules. The exact processing depends on the analyzer.
For example, english reduces books and book to the same term, while standard keeps them distinct. This can help users find inflected forms, but it also changes which distinctions remain searchable. Compare representative queries before choosing between them. See Lucene’s StandardAnalyzer and EnglishAnalyzer for the underlying processing.
For Korean or Japanese text, start with the dedicated korean or japanese analyzer. CJK character pairs are a different matching strategy, not a replacement for evaluating language-specific analysis.
One language or several
For a field containing one language, start with that language’s analyzer orstandard, depending on the matching behavior you need. If languages are stored in separate fields, configure each field for its own content.
For a field containing documents in several languages, or several languages within one document, evaluate a small set of relevant analyzers. For example, ["english", "korean"] is a candidate for English and Korean content, not an automatic language router. Every selected analyzer processes the same field value. Analyzers do not translate text, so combining them does not make a query in one language find translations in another.
Configure your field
Use lowercase names from the supported list. The server rejects duplicate analyzer names with HTTP 400, including case variants such as["english", "English"]. Omit analyzers for ["standard"], or provide at least one analyzer for a searchable text field; an empty list does not use the default.
This indexConfigs fragment selects English analysis for content:
book; with the configuration above, books in the indexed text can also match:
skipSyntax: true disables query syntax parsing; it does not disable text analysis. See Query string search for the complete search request.
Create a collection with REST
This complete request creates a collection usingenglish. Replace the analyzer list with the names you selected for your data. Set the connection values from your project, as described in the API reference.
content field and search using query string search. See Create a collection for other collection options and readiness handling.
Combining analyzers
To evaluate English and Korean analysis on the same field, use thisindexConfigs fragment:
Chinese: words or character pairs
Chinese illustrates a choice between word segmentation and character-pair matching.chinese uses Lucene’s SmartChinese analyzer, which uses a dictionary and statistical segmentation for Simplified Chinese. cjk forms overlapping pairs of adjacent CJK characters without using a word dictionary. These approaches have different matching behavior; neither is the best choice for every dataset.
For the document text 北京大学 (Peking University):
This difference affects searches against that document:
These examples use ordinary unquoted searches with optional terms, including
queryString with skipSyntax: true. They illustrate matching, not a guarantee about the order of search results.
Choose chinese when preserving Chinese word units suits your queries. Evaluate cjk when matching character sequences inside compound words, names, or unfamiliar terms is important. CJK pairs can also cross word boundaries, so broader matching may retrieve documents that are not relevant to the intended query.
Set analyzers to ["chinese"] or ["cjk"] to evaluate each approach separately. To evaluate both on the same field, use ["chinese", "cjk"]. Both run on every value; CJK is not a fallback for words Chinese segmentation misses. Compare the extra matches and costs before combining them.
Traditional Chinese and short queries
cjk can tokenize Traditional Chinese without a Simplified Chinese word dictionary. For example, 軟體工程師 produces 軟體, 體工, 工程, and 程師.
Neither chinese nor cjk automatically converts between Simplified and Traditional Chinese. A document containing only 图书 does not match a search for 圖書 with either analyzer. If you need cross-script matching, normalize documents and queries consistently in your application and evaluate the result on your data.
cjk is not arbitrary substring search. By default, characters that participate in pairs are not also indexed individually. For example, 中国 produces 中国, so searching for the single character 中 does not match that text. An isolated CJK character can still produce a single-character term.
For the underlying analysis behavior, see Lucene’s SmartChinese analyzer and CJK bigram filter.
SDK compatibility
These published releases support all 16 analyzer names in the supported analyzer reference:
Upgrade the client or tool you use to the listed release or a later compatible version. Updating an application’s SDK does not update a separately installed CLI or MCP server; follow the CLI installation or MCP setup instructions. MCP collection creation also requires write tools to be enabled.
Python SDK 0.10.0 requires Python 3.10–3.13. Python 0.9.0 and TypeScript 0.5.1 accept only
standard, english, korean, and japanese in their analyzer models. If you cannot upgrade yet, use the REST request above with your chosen analyzer list. Both SDK and REST requests require server support for the selected analyzers.