Skip to content

Commit

Permalink
did we hit gold?
Browse files Browse the repository at this point in the history
  • Loading branch information
jnatten committed Jan 7, 2025
1 parent cca99dc commit 3073df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
package no.ndla.searchapi.model.api.grep

import cats.implicits.*
import com.scalatsi.{TSNamedType, TSType}
import io.circe.generic.auto.*
import sttp.tapir.generic.auto.*
import io.circe.syntax.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,16 @@ import com.sksamuel.elastic4s.requests.searches.sort.SortOrder.{Asc, Desc}
import com.sksamuel.elastic4s.requests.searches.{SearchHit, SearchResponse}
import no.ndla.common.CirceUtil
import no.ndla.common.implicits.TryQuestionMark
import no.ndla.language.Language
import no.ndla.language.Language.{AllLanguages, findByLanguageOrBestEffort}
import no.ndla.language.Language.AllLanguages
import no.ndla.language.model.Iso639
import no.ndla.search.model.LanguageValue
import no.ndla.search.{BaseIndexService, Elastic4sClient}
import no.ndla.searchapi.Props
import no.ndla.searchapi.controller.parameters.GrepSearchInputDTO
import no.ndla.searchapi.model.api.TitleDTO
import no.ndla.searchapi.model.api.grep.GrepSortDTO.*
import no.ndla.searchapi.model.api.grep.{GrepResultDTO, GrepSearchResultsDTO, GrepSortDTO}
import no.ndla.searchapi.model.search.{SearchType, SearchableGrepElement}

import scala.util.{Success, Try}
import scala.util.Try

trait GrepSearchService {
this: Props & SearchService & GrepIndexService & BaseIndexService & Elastic4sClient & SearchConverterService =>
Expand Down

0 comments on commit 3073df4

Please sign in to comment.