Skip to content

Commit

Permalink
Dependencies: Update Elasticsearch to 8.12.0 (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziofortino authored Jan 23, 2024
1 parent de92d43 commit 983eb3c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import org.typelevel.scalacoptions.*
Global / scalaVersion := "2.13.12"

lazy val CirceVersion = "0.14.3"
lazy val ElasticsearchVersion = "8.11.4"
lazy val ElasticsearchVersion = "8.12.0"
lazy val Elastic4sVersion = "8.11.5"
lazy val ElastiknnVersion = IO.read(file("version")).strip()
lazy val LuceneVersion = "9.8.0"
lazy val LuceneVersion = "9.9.1"

lazy val TestSettings = Seq(
Test / parallelExecution := false,
Expand Down
2 changes: 1 addition & 1 deletion client-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
elasticsearch==8.11.1
elasticsearch==8.12.0
tqdm==4.61.1
scipy==1.10.1
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:8.11.4
FROM docker.elastic.co/elasticsearch/elasticsearch:8.12.0
COPY elastiknn-plugin/target/elastiknn*.zip .
RUN elasticsearch-plugin install -b file:$(ls elastiknn*zip | sort | tail -n1)
4 changes: 2 additions & 2 deletions docs/pages/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Make a Dockerfile like below.
The image version (`elasticsearch:A.B.C`) must match the plugin's version (e.g. `A.B.C.x/elastiknn-A.B.C.x`).

```docker
FROM docker.elastic.co/elasticsearch/elasticsearch:8.11.4
RUN elasticsearch-plugin install --batch https://github.com/alexklibisz/elastiknn/releases/download/8.11.4.0/elastiknn-8.11.4.0.zip
FROM docker.elastic.co/elasticsearch/elasticsearch:8.12.0
RUN elasticsearch-plugin install --batch https://github.com/alexklibisz/elastiknn/releases/download/8.12.0.0/elastiknn-8.12.0.0.zip
```

Build and run the Dockerfile. If you have any issues please refer to the [official docs.](https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.klibisz.elastiknn.api.Vec
import com.klibisz.elastiknn.models.{ExactSimilarityFunction, L2LshModel}
import com.klibisz.elastiknn.lucene.{HashFieldType, LuceneSupport}
import com.klibisz.elastiknn.vectors.PanamaFloatVectorOps
import org.apache.lucene.codecs.lucene95.Lucene95Codec
import org.apache.lucene.codecs.lucene99.Lucene99Codec
import org.apache.lucene.document.Document
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers
Expand All @@ -22,7 +22,7 @@ class HashingQueryPerformanceSuite extends AnyFunSuite with Matchers with Lucene
// Thread.sleep(1000)
// }

class BenchmarkCodec extends Lucene95Codec
class BenchmarkCodec extends Lucene99Codec

test("indexing and searching on scale of GloVe-25") {
implicit val rng: Random = new Random(0)
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.11.4.0
8.12.0.0

0 comments on commit 983eb3c

Please sign in to comment.