Skip to content

Commit ac3992b

Browse files
committed
fix: don't filter search results for JARs
Doing this actually leaves out some of the best results
1 parent 23ed84b commit ac3992b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/codejive/jpm/util/SearchUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private static SearchResult select(String query, int start, int count) throws IO
6767
}
6868
String searchUrl =
6969
String.format(
70-
"https://search.maven.org/solrsearch/select?start=%d&rows=%d&q=p:jar+AND+%s",
70+
"https://search.maven.org/solrsearch/select?start=%d&rows=%d&q=%s",
7171
start, count, URLEncoder.encode(finalQuery, "UTF-8"));
7272
if (parts.length >= 3) {
7373
searchUrl += "&core=gav";

0 commit comments

Comments
 (0)