Coder Social home page Coder Social logo

Comments (3)

youny626 avatar youny626 commented on May 27, 2024

Hi, could you provide the IndexType of theIndex you created and the Index returned by describeIndex? Also, which version of Milvus server did you use?
When you drop an index, the IndexType will be changed to FLAT. So describeIndex will still return an Index.
I just tested again and it seems okay.
Screenshot from 2019-11-06 14-35-29

from milvus-sdk-java.

shenchenguo avatar shenchenguo commented on May 27, 2024

You are right.When I drop an index, the IndexType will be changed to FLAT.
I created Index and then describe it as this:
create
then drop the Index:
describe
then describe the index of table 'example' again:
drop
the version of Milvus server is 0.5.1
server

from milvus-sdk-java.

yhmo avatar yhmo commented on May 27, 2024

Let me explain this. Assume we have an empty table, its index type is default: FLAT. Then user insert 1M vectors into the table. The vectors are stored as 'raw data', one by one write into 'raw file'. If user perform a search action, milvus will do brute-force search. And then user create index SQ8, milvus will generate 'index file' for each 'raw file', the table index type changes to: SQ8, all search action become index-search(much faster than brute-force search). Now, user drop index, milvus will delete all 'index file', the table index type changes to FALT, but the 'raw file' is sill kept, all search action become brute-force search again.

from milvus-sdk-java.

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.