quickwit-oss / tantivy

Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
MIT License
12k stars 669 forks source link

Evolve schemas #470

Open fulmicoton opened 5 years ago

fulmicoton commented 5 years ago

Right now evolving the schema requires reindexing everything.

Make a solid scenario on how to evolve the schema.

onesuper commented 5 years ago

+1.

I saw Tantivy represents each underlying field with an u8 integer.

Is it possible to make field number allocatable when defining schema, and let the index user control schema evolution manually, just like one can do with Protobuf.