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)
- [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
- milvus_client 是否支持spring 单bean管理后,并发请求? HOT 1
- [CVE BUG] Transitive CVE is introduced via Java SDK HOT 6
- Cannot resolve io.milvus:milvus-sdk-java:2.4.0 HOT 2
- Add sparse float vector support HOT 1
- Retry does not display internal error HOT 3
- 使用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
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.