mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-11-29 14:04:08 +00:00
* Distinguish "no fast field tokenizer" from the raw tokenizer
same state, and skipped the tokenizer lookup for "raw". A custom analyzer
registered under "raw" (e.g. Quickwit's raw + RemoveLongFilter(255)) was
then silently ignored.
The fast field tokenizer is now an `Option<String>`:
- `FAST` / `"fast": true`: `None`, values are recorded as is, no lookup.
- `set_fast(name)` / `{"with_tokenizer": name}`: always looked up,
including "raw".
`set_fast("raw")` now serializes as `{"with_tokenizer": "raw"}` instead
of `true`, so the distinction survives a schema round trip.
* Added method to set up a fast field with a None tokenizer