Skip to content

[Bug] metadatFilter input on QueryByVectorIdRequest variable impossible to use as it does not start with a capital letter. #75

@mgagnon-rvo

Description

@mgagnon-rvo

Is this a new bug?
In other words: Is this an error, flaw, failure or fault? Please search Github issues and check our Community Forum to see if someone has already reported the bug you encountered.

If this is a request for help or troubleshooting code in your own Pinecone project, please join the Pinecone Community Forum.

  • [ X] I believe this is a new bug
  • [ X] I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug

Describe the bug

The input variable on this method has the metadataFilter variable in lowercase. This makes usage of this input variable impossible.

Here is the struct showing the metadataFilter variable

type QueryByVectorIdRequest struct {
	VectorId        string
	TopK            uint32
	metadataFilter  *MetadataFilter
	IncludeValues   bool
	IncludeMetadata bool
	SparseValues    *SparseValues
}

This is the function it is used in.
func (idx *IndexConnection) QueryByVectorId(ctx context.Context, in *QueryByVectorIdRequest) (*QueryVectorsResponse, error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus:on-roadmapThis has been picked up by the team and is on our roadmap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions