Comments (3)
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.
from milvus-sdk-java.
You are right.When I drop an index, the IndexType
will be changed to FLAT
.
I created Index
and then describe it as this:
then drop the Index
:
then describe the index of table 'example' again:
the version of Milvus server is 0.5.1
from milvus-sdk-java.
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)
- How to know collection had loaded via SDK? HOT 1
- How to truncate all collection data HOT 2
- How to set default values for scalar fields HOT 2
- Does it support transactions HOT 1
- 2.3版本sdk和xxxjob有jar包冲突 HOT 9
- ANN 查询数据 id返回值错误 HOT 3
- [V2]-CreateCollection with collection schema throw NullPointerException HOT 1
- [v2]-create partition throw NullPointerException HOT 1
- [V2]--Create index Error:CreateIndexRequest collectionName:Collection_PKpEF4kxil, fieldName:fieldFloatVector failed, error code: 2, reason: efConstruction out of range: [1, 2147483647]
- [V2]--Upsert Error: error code: 2, reason: the number of fields is less than needed: invalid parameter[expected=9][actual=8] HOT 1
- [V2]--Delete by expr("id<100"),return deleteCnt=0 HOT 1
- [v2][describeIndex]--No matter what value fieldName passes in,always return vector index info HOT 1
- [v2][createIndex]--Create scalar index throw exception:'index type not match: invalid parameter[expected=Trie][actual=TRIE]' HOT 1
- [v2][query]--Query by ambiguous filter parameter,return error result HOT 1
- [v2][search]--Suffix matching is not supported,failed to create query plan: cannot parse expression: fieldVarchar like "%0"
- [v2][createCollection]--Unable to set up shard num when creating collection. HOT 1
- [v2][LoadCollection]--PartitionName param should not appear in loadCollection api。 HOT 2
- How to use search scores as return constraints HOT 1
- Why ReleaseCollectionParam without withDatabaseName function? HOT 2
- Attu可以连接到Milvus,但java连接调用milvus报错? HOT 21
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 milvus-sdk-java.