Skip to content

add index sorting deprecation warning (#2353) #3403

add index sorting deprecation warning (#2353)

add index sorting deprecation warning (#2353) #3403

Triggered via push April 10, 2024 06:09
Status Cancelled
Total duration 12m 4s
Artifacts

coverage.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
coverage
Canceling since a higher priority waiting request for 'Coverage-refs/heads/main' exists
coverage
The operation was canceled.
use of deprecated field `index::index_meta::IndexSortByField::order`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.: src/functional_test.rs#L85
warning: use of deprecated field `index::index_meta::IndexSortByField::order`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case. --> src/functional_test.rs:85:13 | 85 | order: Order::Desc, | ^^^^^^^^^^^^^^^^^^
use of deprecated field `index::index_meta::IndexSortByField::field`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.: src/functional_test.rs#L84
warning: use of deprecated field `index::index_meta::IndexSortByField::field`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case. --> src/functional_test.rs:84:13 | 84 | field: "id".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^
use of deprecated struct `index::index_meta::IndexSortByField`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.: src/functional_test.rs#L83
warning: use of deprecated struct `index::index_meta::IndexSortByField`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case. --> src/functional_test.rs:83:29 | 83 | sort_by_field: Some(IndexSortByField { | ^^^^^^^^^^^^^^^^
use of deprecated struct `index::index_meta::IndexSortByField`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case.: src/functional_test.rs#L7
warning: use of deprecated struct `index::index_meta::IndexSortByField`: We plan to remove index sorting in `0.23`. If you need index sorting, please comment on the related issue https://github.com/quickwit-oss/tantivy/issues/2352 and explain your use case. --> src/functional_test.rs:7:48 | 7 | use crate::{doc, schema, Index, IndexSettings, IndexSortByField, IndexWriter, Order, Searcher}; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default