Code Monkey home page Code Monkey logo

Comments (14)

dushulin avatar dushulin commented on May 28, 2024

When the total amount of data to be deleted is more than 40, this problem will not occur. When the total amount of data is more than 200, this problem will occur.

from milvus.

yanliang567 avatar yanliang567 commented on May 28, 2024

/assign @ThreadDao
please help to reporduce the issue

/unassign

from milvus.

dushulin avatar dushulin commented on May 28, 2024

from milvus.

SimFG avatar SimFG commented on May 28, 2024

you can try to set the consistency_level param to Strong in the delete method

from milvus.

dushulin avatar dushulin commented on May 28, 2024

you can try to set the consistency_level param to Strong in the delete method

how to call delete method by this param? I did not find api doc

from milvus.

dushulin avatar dushulin commented on May 28, 2024

I saw a time traval value mentioned in your document. How long will it take before it will be retrieved by default?

from milvus.

SimFG avatar SimFG commented on May 28, 2024

@dushulin maybe the go sdk have not give the param, you can set the collection consistency_level to strong, and try to delete the data.

from milvus.

dushulin avatar dushulin commented on May 28, 2024

@dushulin maybe the go sdk have not give the param, you can set the collection consistency_level to strong, and try to delete the data.
We need complex expr, so we can only set bounded,can we set consistency_level in query or search function? If not, can you team add this in go sdk?

from milvus.

SimFG avatar SimFG commented on May 28, 2024

@congqixia please give this issue a look

from milvus.

SimFG avatar SimFG commented on May 28, 2024

@dushulin you can set the consistency_level in search and query request
https://github.com/milvus-io/milvus-sdk-go/blob/e697167f1828049c4c6237f0e3646b77b725ebdf/client/options.go#L174-L179

from milvus.

dushulin avatar dushulin commented on May 28, 2024

@dushulin you can set the consistency_level in search and query request https://github.com/milvus-io/milvus-sdk-go/blob/e697167f1828049c4c6237f0e3646b77b725ebdf/client/options.go#L174-L179

Are there fields for curl?

from milvus.

SimFG avatar SimFG commented on May 28, 2024

here is the client api

func (c *GrpcClient) Search(ctx context.Context, collName string, partitions []string,
    expr string, outputFields []string, vectors []entity.Vector, vectorField string, metricType entity.MetricType, topK int, sp entity.SearchParam, opts ...SearchQueryOptionFunc) ([]SearchResult, error) {

there is a SearchQueryOptionFunc param, it can be use the WithSearchQueryConsistencyLevel method to get this param

// WithSearchQueryConsistencyLevel specifies consistency level
func WithSearchQueryConsistencyLevel(cl entity.ConsistencyLevel) SearchQueryOptionFunc {
	return func(option *SearchQueryOption) {
		option.ConsistencyLevel = cl
	}
}

from milvus.

dushulin avatar dushulin commented on May 28, 2024

here is the client api

func (c *GrpcClient) Search(ctx context.Context, collName string, partitions []string,
    expr string, outputFields []string, vectors []entity.Vector, vectorField string, metricType entity.MetricType, topK int, sp entity.SearchParam, opts ...SearchQueryOptionFunc) ([]SearchResult, error) {

there is a SearchQueryOptionFunc param, it can be use the WithSearchQueryConsistencyLevel method to get this param

// WithSearchQueryConsistencyLevel specifies consistency level
func WithSearchQueryConsistencyLevel(cl entity.ConsistencyLevel) SearchQueryOptionFunc {
	return func(option *SearchQueryOption) {
		option.ConsistencyLevel = cl
	}
}

I mean http api param name. ConsistencyLevel=Bounded? can you give me some example? use curl command

from milvus.

SimFG avatar SimFG commented on May 28, 2024

@dushulin you can try to use the attu to delete the data. And the http api currently does not support this parameter, because it's a new parameter.

from milvus.

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.