[ https://issues.apache.org/jira/browse/MINDEXER-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965440#comment-17965440 ]
Olivier Lamy commented on MINDEXER-158: --------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-indexer#579|https://github.com/apache/maven-indexer/issues/579]. Please visit the GitHub issue to view further activity, add comments, or subscribe to receive notifications. > IndexSearcher doesn't return all sha1 > ------------------------------------- > > Key: MINDEXER-158 > URL: https://issues.apache.org/jira/browse/MINDEXER-158 > Project: Maven Indexer (Moved to GitHub Issues) > Issue Type: Bug > Reporter: Matteo Di Pierro > Assignee: Tamas Cservenak > Priority: Major > Attachments: mavensnippet.java > > > I'm following your example > [here|https://github.com/apache/maven-indexer/blob/master/indexer-examples/indexer-examples-basic/src/main/java/org/apache/maven/index/examples/BasicUsageExample.java] > and I am successfully able to download and open the index. However, I cannot > find the sha1 d62bd1ef6a9aee74557bd59fb96030fd52cf2fc1, while if I run > {code:java} > curl > https://search.maven.org/solrsearch/select?q="1:d62bd1ef6a9aee74557bd59fb96030fd52cf2fc1"{code} > I get > > {code:java} > {"responseHeader":{"status":0,"QTime":0,"params":{"q":"1:d62bd1ef6a9aee74557bd59fb96030fd52cf2fc1","core":"","indent":"off","fl":"id,g,a,v,p,ec,timestamp,tags","start":"","sort":"score > desc,timestamp desc,g asc,a asc,v > desc","rows":"20","wt":"json","version":"2.2"}},"response":{"numFound":1,"start":0,"docs":[{"id":"org.springframework:spring-webmvc:5.3.17","g":"org.springframework","a":"spring-webmvc","v":"5.3.17","p":"jar","timestamp":1647516151000,"ec":[".module","-sources.jar",".pom","-javadoc.jar",".jar"],"tags":["spring"]}]}} > {code} > > > I am instead able to find inside the index the sha1 > 3f4de0db59b9085e41cc11c8c2914c427cc848e1 related to the same pkg, as shown > here: > {code:java} > curl > https://search.maven.org/solrsearch/select?q="1:3f4de0db59b9085e41cc11c8c2914c427cc848e1" > {"responseHeader":{"status":0,"QTime":0,"params":{"q":"1:3f4de0db59b9085e41cc11c8c2914c427cc848e1","core":"","indent":"off","fl":"id,g,a,v,p,ec,timestamp,tags","start":"","sort":"score > desc,timestamp desc,g asc,a asc,v > desc","rows":"20","wt":"json","version":"2.2"}},"response":{"numFound":1,"start":0,"docs":[{"id":"org.springframework:spring-webmvc:5.3.17","g":"org.springframework","a":"spring-webmvc","v":"5.3.17","p":"jar","timestamp":1647516151000,"ec":[".module","-sources.jar",".pom","-javadoc.jar",".jar"],"tags":["spring"]}]}}{code} > Can you please help me to retrieve all the sha1 from the index? > I attach here the code I'm using [^mavensnippet.java]. > Thank you very much > -- This message was sent by Atlassian Jira (v8.20.10#820010)