Skip to content

check unsupported parameters top_hits (#2351)

Sign in for the full log view
GitHub Actions / clippy succeeded Apr 10, 2024 in 0s

clippy

5 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 5
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 162 in src/aggregation/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `invalid_agg_request` is never used

warning: function `invalid_agg_request` is never used
   --> src/aggregation/mod.rs:162:15
    |
162 | pub(crate) fn invalid_agg_request(message: String) -> crate::TantivyError {
    |               ^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

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