blob: 26f82b35a990fe2a351667d09237a3c81f59985d [file] [view]
# Paimon Integration
The standalone library is intentionally independent of Paimon core. Paimon
integration should be a thin adapter:
- Keep `FullTextQuery` / `FullTextSearch` in Paimon common as query API.
- Serialize queries to the JSON accepted by this library.
- Implement a Paimon `GlobalIndexerFactory` that delegates to Java
`FullTextIndexWriter` and `FullTextIndexReader`.
- Store produced files as global index files.
Suggested index identifier:
```text
fulltext
```
Suggested option namespace:
```text
fulltext.tokenizer
fulltext.ngram.min-gram
fulltext.ngram.max-gram
fulltext.ngram.prefix-only
fulltext.lower-case
fulltext.max-token-length
fulltext.ascii-folding
fulltext.with-position
```
The standalone library accepts both unprefixed keys and `fulltext.` prefixed
keys.