Comments (4)
I don't believe this is possible in tantivy, can tantivy update it's schema?
from toshi.
In such a case, i it at least possible to delete an entire index? I need this programmatically instead of deleting it from the file system.
from toshi.
So recently a quickwit-oss/tantivy#1211 introduced non-strict schemas which means unknown fields don't error, but that doesn't re-index the index or change the schema, yea, I'd imagine you would have to delete and recreate the index at this point.
The reason there was no delete endpoint yet was deleting a non-empty directory on windows (and I don't know if this is still the case) was inconsistent so we could get confused if windows for whatever reason decided not to delete the directory. Adding a delete endpoint wouldn't be very difficult it would just be inconsistent, what are you running on?
from toshi.
I see. The scenario I am having is that I need to create indices for given schema. This works fine until I need to update the schema. There is no update, so I thought of deleting and re-adding, but then realized that also deleting indices is not supported.
from toshi.
Related Issues (20)
- Are you Consider Add a Code Abstract Article
- Unable to build on FreeBSD/ HardenedBSD HOT 1
- Can you plug this into Kibana? HOT 2
- Cargo build error with error type :expected struct `std::io::Error`, found struct `std::string::String` HOT 1
- Toshi Search fails in systemd service HOT 4
- toshi panic at run time due to tokio HOT 5
- Support for dynamic fields? HOT 2
- Bulk indexing giving intermittent 400s (due to 100ms timeout?) HOT 3
- API for listing existing indexes HOT 5
- Search for all fields instead of a single field HOT 1
- Is there any way to use a custom tokenizer? HOT 5
- cargo build --release failed HOT 2
- More guidances in need HOT 3
- build error HOT 1
- POSTd data over 8kb in size fails HOT 3
- How close to Elasticsearch do you want to be? HOT 1
- compile failed
- Evaluate using Profile-Guided Optimization (PGO) and LLVM BOLT HOT 1
- Feature request: versioning and github releases HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toshi.