Skip to content

Commit

Permalink
prepare for release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hussama Ismail committed Feb 12, 2020
1 parent d95a4e7 commit 962e993
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<a href="https://github.com/nmslib/hnswlib/commit/0abe4a8b3ba456c70cb2e924c5673cfb128d75bf"><img src="https://img.shields.io/static/v1?label=hnswlib&message=0abe4a8&color=blue"/></a>


# __Hnswlib with JNA (Java Native Access)__

This project contains a [JNA](https://github.com/java-native-access/jna) (Java Native Access) implementation built on top of the native [Hnswlib](https://github.com/nmslib/hnswlib) (Hierarchical Navigable Small World Graph) which offers a fast approximate nearest neighbor search. It includes some modifications and simplifications in order to provide Hnswlib features with native like performance to applications written in Java. Differently from the original Python implementation, the multi-thread support is not included in the bindings itself but it can be easily implemented on the Java side.
Expand Down
4 changes: 2 additions & 2 deletions hnswlib-jna-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.stepstone.search.hnswlib.jna</groupId>
<artifactId>hnswlib-jna-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<relativePath>..</relativePath>
</parent>

Expand All @@ -26,7 +26,7 @@
<dependency>
<groupId>com.stepstone.search.hnswlib.jna</groupId>
<artifactId>hnswlib-jna</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
</dependency>
</dependencies>

Expand Down
25 changes: 23 additions & 2 deletions hnswlib-jna/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>hnswlib-jna</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>

<name>hnswlib-jna</name>

<parent>
<groupId>com.stepstone.search.hnswlib.jna</groupId>
<artifactId>hnswlib-jna-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<relativePath>..</relativePath>
</parent>

Expand All @@ -38,4 +38,25 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.stepstone.search.hnswlib.jna</groupId>
<artifactId>hnswlib-jna-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit 962e993

Please sign in to comment.