Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add index sorting deprecation warning #2353

Merged
merged 2 commits into from
Apr 10, 2024

remove deprecated IntOptions and DatePrecision

6d74a24
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

add index sorting deprecation warning #2353

remove deprecated IntOptions and DatePrecision
6d74a24
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Apr 10, 2024 in 0s

clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
Note 0
Help 0

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check warning on line 85 in src/functional_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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.

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,
   |             ^^^^^^^^^^^^^^^^^^

Check warning on line 84 in src/functional_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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.

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(),
   |             ^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 83 in src/functional_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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.

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 {
   |                             ^^^^^^^^^^^^^^^^

Check warning on line 7 in src/functional_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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.

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