Skip to content

Commit 8588e53

Browse files
Merge pull request #19 from triblespace/codex/remove-quickwit-feature-and-related-code
Remove quickwit feature
2 parents c470ce8 + acb2506 commit 8588e53

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ have been removed to keep the changelog focused on Yeehaw's history.
1414
- handle unknown column codes gracefully in `ColumnarReader::iter_columns`.
1515

1616
## Features/Improvements
17+
- remove `quickwit` feature flag and related async code.
1718
- add docs/example and Vec<u32> values to sstable [#2660](https://github.com/quickwit-oss/yeehaw/pull/2660)(@PSeitz)
1819
- Add string fast field support to `TopDocs`. [#2642](https://github.com/quickwit-oss/yeehaw/pull/2642)(@stuhood)
1920
- update edition to 2024 [#2620](https://github.com/quickwit-oss/yeehaw/pull/2620)(@PSeitz)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ stopwords = []
116116
lz4-compression = ["lz4_flex"]
117117
zstd-compression = ["zstd"]
118118

119-
# enable zstd-compression in columnar (and sstable)
119+
# enable zstd-compression in columnar
120120
columnar-zstd-compression = ["columnar/zstd-compression"]
121121

122122
failpoints = ["fail", "fail/failpoints"]

INVENTORY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ This inventory captures the direction of the rewrite and the major tasks require
5757
- Replace `unwrap` usage with a fallible API that reports unknown column types.
5858
14. **Replace nightly benches using `test::Bencher`**
5959
- Migrate inline benchmarks to a stable harness so the `unstable` feature can be tested on stable Rust.
60+
15. **Evaluate removing sstable term dictionary and crate now that `quickwit` feature is gone**
61+
- Determine whether the `sstable` crate should remain in the workspace or be extracted.

src/compat_tests.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ fn path_for_version(version: &str) -> String {
3333
format!("./tests/compat_tests_data/index_v{version}/")
3434
}
3535

36-
/// feature flag quickwit uses a different dictionary type
3736
#[test]
3837
fn test_format_6() {
3938
let path = path_for_version("6");
@@ -43,7 +42,6 @@ fn test_format_6() {
4342
assert_date_time_precision(&index, DateTimePrecision::Microseconds);
4443
}
4544

46-
/// feature flag quickwit uses a different dictionary type
4745
#[test]
4846
fn test_format_7() {
4947
let path = path_for_version("7");

src/core/executor.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ pub enum Executor {
1212
ThreadPool(Arc<rayon::ThreadPool>),
1313
}
1414

15+
impl From<Arc<rayon::ThreadPool>> for Executor {
16+
fn from(thread_pool: Arc<rayon::ThreadPool>) -> Self {
17+
Executor::ThreadPool(thread_pool)
18+
}
19+
}
20+
1521
impl Executor {
1622
/// Creates an Executor that performs all task in the caller thread.
1723
pub fn single_thread() -> Executor {

src/query/range_query/range_query.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ pub struct InvertedIndexRangeWeight {
173173

174174
impl InvertedIndexRangeWeight {
175175
/// Creates a new RangeWeight
176-
///
177176
pub fn new(
178177
field: Field,
179178
lower_bound: &Bound<Term>,

0 commit comments

Comments
 (0)