diff --git a/build.sbt b/build.sbt index 5eb0aaf2..b76cbf7f 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ // Scala versions val scala213 = "2.13.14" -val scala3 = "3.3.3" +val scala3 = "3.4.1" val scala2 = List(scala213) val allScalaVersions = scala3 :: scala2 @@ -15,7 +15,7 @@ val developerURL: String = "https://matthicks.com" name := projectName ThisBuild / organization := org -ThisBuild / version := "0.5.0-SNAPSHOT1" +ThisBuild / version := "0.5.0" ThisBuild / scalaVersion := scala213 ThisBuild / crossScalaVersions := allScalaVersions ThisBuild / scalacOptions ++= Seq("-unchecked", "-deprecation") diff --git a/lucene/src/main/scala/lightdb/lucene/LuceneIndexer.scala b/lucene/src/main/scala/lightdb/lucene/LuceneIndexer.scala index 960a8030..448a1fbd 100644 --- a/lucene/src/main/scala/lightdb/lucene/LuceneIndexer.scala +++ b/lucene/src/main/scala/lightdb/lucene/LuceneIndexer.scala @@ -15,6 +15,7 @@ import org.apache.lucene.document.{Document => LuceneDocument, Field => LuceneFi import java.nio.file.{Files, Path} import java.util.concurrent.ConcurrentHashMap +import fabric.rw._ case class LuceneIndexer[D <: Document[D]](indexSupport: IndexSupport[D], persistent: Boolean = true,