Maybe you know I have a new hobby project I'm working on for six months now - javalibs.com, which is basically something like Google for Maven Central repository. Why I made it? Because I was sick and tired of the current state of public search engines. When creating javalibs.com I took lots of inspiration from them, but ultimately I made my own path and created some original concepts:
There are total 7 tests which tested the search engine to it's limits. Note that on search.maven.org I didn't use "Advanced search", because it requires precise knowledge what you're looking for, it's extra hassle and most people don't know about that feature anyways. If the result I was looking for was within several first results (first 5 results if not specified otherwise), the search engine would receive one point, otherwise zero. These are summary results:
javalibs.com: | 7 - winner |
mvnrepository.com: | 4 |
search.maven.org: | 2 |
maven-repository.com: | 2 |
libraries.io: | 0 |
bintray.com: | 0 |
search term: org.hibernate:hibernate-search-engine
Explanation: searching for groupId:artifactId, what could go wrong? Results:
|
||||||||||||
search term: org.hibernate hibernate-search-engine
Explanation: searching for "groupId artifactId", what could go wrong? Results:
|
||||||||||||
search term: spring
Explanation: This is very hard test, because I'm not specifying exactly what I'm looking for, just a name of the framework. Results:
|
||||||||||||
search term: hibernate search
Explanation: This is moderately hard test, because even though there are just few "Hibernate Search" libraries, there are lots of "Hibernate" libraries and "search" is a common word. Moreover there's a deprecated Hibernate Search artifact and the search engine should warn you about it somehow. Results:
|
||||||||||||
search term: spring-webmvc
Explanation: This is fairly easy test, spring-webmvc is an artifactId. This should be within first 3 results. Results:
|
||||||||||||
search term: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency>
Explanation: You wouldn't belive how many people search this way. Results:
|
||||||||||||
search term: junit-4.12.jar
Explanation: Again you wouldn't belive ... Results:
|
Made better & faster using https://www.yourkit.com/ Java Profiler