Git Product home page Git Product logo

Comments (4)

hntd187 avatar hntd187 commented on June 1, 2024

I don't believe this is possible in tantivy, can tantivy update it's schema?

from toshi.

seekeramento avatar seekeramento commented on June 1, 2024

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.

hntd187 avatar hntd187 commented on June 1, 2024

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.

seekeramento avatar seekeramento commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.