ElasticsearchConfig

org.llm4s.vectorstore.elasticsearch.ElasticsearchConfig
See theElasticsearchConfig companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(baseUrl: String, index: String, auth: ElasticsearchAuth, similarity: ElasticsearchSimilarity, dimensions: Option[Int], numCandidates: Option[Int], refreshOnWrite: Boolean, timeout: FiniteDuration): ElasticsearchConfig

Creates a config for the cluster at baseUrl. Named arguments are the supported way to set the rest.

Creates a config for the cluster at baseUrl. Named arguments are the supported way to set the rest.

Attributes

Concrete fields

val DefaultBaseUrl: String

A local single-node cluster's address.

A local single-node cluster's address.

Attributes

val DefaultIndex: String

The index used unless one is configured.

The index used unless one is configured.

Attributes

val DefaultTimeout: FiniteDuration

How long each request may take unless configured otherwise.

How long each request may take unless configured otherwise.

Attributes

val MaxCandidates: Int

Elasticsearch's limit on kNN k and num_candidates.

Elasticsearch's limit on kNN k and num_candidates.

Attributes

val MaxDimensions: Int

Elasticsearch's limit on dense_vector dimensions (since 8.11).

Elasticsearch's limit on dense_vector dimensions (since 8.11).

Attributes