Comments (3)
No need to set index parameters, but you need to specify an index type.
The CreateIndexParam has these methods:
withIndexType()
withMetricType()
withExtraParam()
For scalar field, you don't need to call withMetricType() and withExtraParam(), but you need to call withIndexType() to specify index type.
For VARCHAR field, the index type is TRIE.
For Int/Float field, the index type is STL_SORT.
JAVA example:
from milvus-sdk-java.
A commit has been merged to set the default index type: #742
The next version will contain this commit.
from milvus-sdk-java.
Got, THX
from milvus-sdk-java.
Related Issues (20)
- 使用milvus-sdk-java v2.3.4报错 HOT 1
- Is it possibile to define a scalar field of type array of Integers? HOT 4
- How to save numbers greater than 127, such as 255, into a binary vector?
- cannot find milvus-sdk-java 2.4.0 in the Maven Repository HOT 5
- SDK 2.3.5 brings a vulnerable version of hadoop libraries HOT 4
- Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer; HOT 9
- Unsafe deserialization in com.alibaba:fastjson HOT 7
- Loading collection console log keeps looping with errors in milvus-sdk-java 2.4.0 HOT 3
- Iterators and range_filter error (when no range filter is specified) HOT 19
- Is there any interface in the Java Sdk that can clear a collection? HOT 3
- When a SearchIteratorParam is initialized via withParams, calling build() raises an error HOT 2
- 关于查询milvus的向量精度问题 HOT 17
- 数组字段支持索引吗? 没有索引查询起来很慢,怎么搞 HOT 4
- milvus集群版search压力倾斜 HOT 4
- Support AlterDatabase api
- How to support connection pooling in milvus-java-sdk?(如何在milvus-java-sdk中支持连接池?) HOT 1
- 集合别名相关内容疑问
- [v2]-Use the milvusClientV2.describeCollection interface to view the vector of bf16/float16/sparse vector type. The vectorFieldName in the return value is empty. HOT 1
- Does milvus support search data by json field condition? HOT 2
- [v2][BFloat16Vector]--The search return result is empty, but the query return is correct。
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.