Compare commits

...

4 Commits

Author SHA1 Message Date
many
8058970523 Expose indexer opts 2022-03-17 16:41:56 +01:00
bors[bot]
3273fe0470 Merge #2246
2246: Release v0.26.1: bring "fix panic at start" commit (#2243) into stable r=MarinPostma a=curquiza

2 commits
- cherry pick `32843f30d973349122ec5a37469ee09e6002b6f3` (merged in #2243)
- change the version in the Cargo toml files (from v0.26.0 to v0.26.1)

Co-authored-by: ad hoc <postma.marin@protonmail.com>
Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
2022-03-16 18:32:47 +00:00
Clémentine Urquizar
7468a5e96c Update the version (from v0.26.0 to v0.26.1) 2022-03-16 18:03:54 +01:00
ad hoc
a87faa0db7 bug(http): fix panic on startup 2022-03-16 18:03:01 +01:00
7 changed files with 14 additions and 14 deletions

8
Cargo.lock generated
View File

@@ -1713,7 +1713,7 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
[[package]]
name = "meilisearch-auth"
version = "0.26.0"
version = "0.26.1"
dependencies = [
"enum-iterator",
"heed",
@@ -1728,7 +1728,7 @@ dependencies = [
[[package]]
name = "meilisearch-error"
version = "0.26.0"
version = "0.26.1"
dependencies = [
"actix-web",
"proptest",
@@ -1739,7 +1739,7 @@ dependencies = [
[[package]]
name = "meilisearch-http"
version = "0.26.0"
version = "0.26.1"
dependencies = [
"actix-cors",
"actix-rt",
@@ -1814,7 +1814,7 @@ dependencies = [
[[package]]
name = "meilisearch-lib"
version = "0.26.0"
version = "0.26.1"
dependencies = [
"actix-rt",
"actix-web",

View File

@@ -1,6 +1,6 @@
[package]
name = "meilisearch-auth"
version = "0.26.0"
version = "0.26.1"
edition = "2021"
[dependencies]

View File

@@ -1,6 +1,6 @@
[package]
name = "meilisearch-error"
version = "0.26.0"
version = "0.26.1"
authors = ["marin <postma.marin@protonmail.com>"]
edition = "2021"

View File

@@ -4,7 +4,7 @@ description = "Meilisearch HTTP server"
edition = "2021"
license = "MIT"
name = "meilisearch-http"
version = "0.26.0"
version = "0.26.1"
[[bin]]
name = "meilisearch"

View File

@@ -146,7 +146,7 @@ pub struct Opt {
pub log_level: String,
#[serde(skip)]
#[clap(skip)]
#[clap(flatten)]
pub indexer_options: IndexerOpts,
#[serde(flatten)]

View File

@@ -1,6 +1,6 @@
[package]
name = "meilisearch-lib"
version = "0.26.0"
version = "0.26.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -25,7 +25,7 @@ pub struct IndexerOpts {
/// In case the engine is unable to retrieve the available memory the engine will
/// try to use the memory it needs but without real limit, this can lead to
/// Out-Of-Memory issues and it is recommended to specify the amount of memory to use.
#[clap(long, default_value_t)]
#[clap(long, default_value_t, env = "MEILI_MAX_MEMORY")]
pub max_memory: MaxMemory,
/// The name of the compression algorithm to use when compressing intermediate
@@ -40,7 +40,7 @@ pub struct IndexerOpts {
pub chunk_compression_level: Option<u32>,
/// Number of parallel jobs for indexing, defaults to # of CPUs.
#[clap(long)]
#[clap(long, env = "MEILI_INDEXING_JOBS")]
pub indexing_jobs: Option<usize>,
}
@@ -52,20 +52,20 @@ pub struct SchedulerConfig {
// The maximum number of updates of the same type that can be batched together.
// If unspecified, this is unlimited. A value of 0 is interpreted as 1.
#[clap(long, requires = "enable-autobatching", hide = true)]
#[clap(long, requires = "enable-auto-batching", hide = true)]
pub max_batch_size: Option<usize>,
// The maximum number of documents in a document batch. Since batches must contain at least one
// update for the scheduler to make progress, the number of documents in a batch will be at
// least the number of documents of its first update.
#[clap(long, requires = "enable-autobatching", hide = true)]
#[clap(long, requires = "enable-auto-batching", hide = true)]
pub max_documents_per_batch: Option<usize>,
/// Debounce duration in seconds
///
/// When a new task is enqueued, the scheduler waits for `debounce_duration_sec` seconds for new updates before
/// starting to process a batch of updates.
#[clap(long, requires = "enable-autobatching", hide = true)]
#[clap(long, requires = "enable-auto-batching", hide = true)]
pub debounce_duration_sec: Option<u64>,
}