jira-importer commented on issue #444: URL: https://github.com/apache/maven-indexer/issues/444#issuecomment-2965141046
**[Jesse N. Glick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jglick)** commented The use case here is finding a sorted list of all {[artifactId}}s for a given `groupId`, where the group in question in fact has hundreds of artifacts, each in several versions (so a few thousand `ArtifactInfo`s in total). Rewriting the client code to use an iterator would reduce temporary memory consumption - a helpful optimization if the data set becomes much bigger than it is now - but not permit incremental results to be returned. What drove me to file this was the fact that the API exposed by the Indexer leads you to write what looks like a straightforward search that in fact works fine when tested on a typical sample - but then produces incorrect results on a bigger data set (in my case showing only the lexicographically last 79 out of 685 artifacts in a group) without throwing an exception or otherwise returning an obvious error. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org