Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: docs bug - Java API #27416

Closed
1 task done
fgreco55 opened this issue Sep 27, 2023 · 3 comments
Closed
1 task done

[Bug]: docs bug - Java API #27416

fgreco55 opened this issue Sep 27, 2023 · 3 comments
Assignees
Labels
kind/bug Issues or changes related a bug stale indicates no udpates for 30 days triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@fgreco55
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

Bottom of page: https://milvus.io/api-reference/java/v2.3.x/Query%20and%20Search/search().md

System.out.println("Search results:");
for (int i = 0; i < targetVectors.size(); ++i) {
List<SearchResultsWrapper.IDScore> scores = results.getIDScore(i); // "results" should be "wrapper"
for (SearchResultsWrapper.IDScore score:scores) {
System.out.println(score);
}
}

Expected Behavior

List<SearchResultsWrapper.IDScore> scores = **results**.getIDScore(i);       // "results" should be "wrapper"

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@fgreco55 fgreco55 added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 27, 2023
@yanliang567
Copy link
Contributor

yanliang567 commented Sep 28, 2023

/assign @yhmo
could you please double check it and help to update it?
/unassign

@sre-ci-robot sre-ci-robot assigned yhmo and unassigned yanliang567 Sep 28, 2023
@yanliang567 yanliang567 added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 28, 2023
@stale
Copy link

stale bot commented Oct 28, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@stale stale bot added the stale indicates no udpates for 30 days label Oct 28, 2023
@yhmo
Copy link
Contributor

yhmo commented Nov 2, 2023

The doc has been updated.

@yhmo yhmo closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug stale indicates no udpates for 30 days triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

3 participants