Skip to content

store DateTime as nanoseconds in doc store #4068

store DateTime as nanoseconds in doc store

store DateTime as nanoseconds in doc store #4068

GitHub Actions / clippy succeeded Sep 4, 2024 in 1s

clippy

51 warnings

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 15 in src/termdict/fst_termdict/merger.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/termdict/fst_termdict/merger.rs:15:5
   |
15 | /// the term.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
15 | ///   the term.
   |     ++

Check warning on line 29 in src/store/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/store/mod.rs:29:5
   |
29 | //! [`SegmentReader`'s `doc` method](../struct.SegmentReader.html#method.doc)
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
29 | //!   [`SegmentReader`'s `doc` method](../struct.SegmentReader.html#method.doc)
   |     ++

Check warning on line 192 in src/schema/text_options.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/schema/text_options.rs:192:5
    |
192 | /// Essentially, should we store the term frequency and/or the positions (See
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
192 | ///   Essentially, should we store the term frequency and/or the positions (See
    |     ++

Check warning on line 16 in src/schema/field_entry.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/schema/field_entry.rs:16:5
   |
16 | /// how the field should be indexed.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
16 | ///   how the field should be indexed.
   |     ++

Check warning on line 647 in src/schema/term.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/schema/term.rs:647:9
    |
647 |     /// If it is a JSON Term, then it is prepended with the path that leads to this leaf value.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
647 |     ///   If it is a JSON Term, then it is prepended with the path that leads to this leaf value.
    |         ++

Check warning on line 644 in src/schema/term.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/schema/term.rs:644:9
    |
644 |     /// If this is a JSON term, the type is the type of the leaf of the json.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
644 |     ///   If this is a JSON term, the type is the type of the leaf of the json.
    |         ++

Check warning on line 643 in src/schema/term.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/schema/term.rs:643:9
    |
643 |     /// The remaining 7 bits are used to encode the type of the value.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
643 |     ///   The remaining 7 bits are used to encode the type of the value.
    |         ++

Check warning on line 55 in src/query/range_query/fast_field_range_doc_set.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/query/range_query/fast_field_range_doc_set.rs:55:9
   |
55 |     /// full scan.
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
55 |     ///   full scan.
   |         ++

Check warning on line 54 in src/query/range_query/fast_field_range_doc_set.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/query/range_query/fast_field_range_doc_set.rs:54:9
   |
54 |     /// should load small chunks. When the seeks are small, we can employ the same strategy as on a
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
54 |     ///   should load small chunks. When the seeks are small, we can employ the same strategy as on a
   |         ++

Check warning on line 52 in src/query/range_query/fast_field_range_doc_set.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/query/range_query/fast_field_range_doc_set.rs:52:9
   |
52 |     /// will come, so we start with small chunks
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
52 |     ///   will come, so we start with small chunks
   |         ++

Check warning on line 121 in src/query/query.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/query/query.rs:121:5
    |
121 | /// [`SegmentReader`]. It is created by the [`Weight`].
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
121 | ///   [`SegmentReader`]. It is created by the [`Weight`].
    |     ++

Check warning on line 119 in src/query/query.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/query/query.rs:119:5
    |
119 | /// hold statistics about the different term of the query. It is created by the query.
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
119 | ///   hold statistics about the different term of the query. It is created by the query.
    |     ++

Check warning on line 223 in src/query/phrase_query/phrase_scorer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/query/phrase_query/phrase_scorer.rs:223:5
    |
223 | /// matches, but only counts one.
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
223 | ///   matches, but only counts one.
    |     ++

Check warning on line 222 in src/query/phrase_query/phrase_scorer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/query/phrase_query/phrase_scorer.rs:222:5
    |
222 | /// and depends on intersections afterwards, therefore this algorithm keeps left and right as
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
222 | ///   and depends on intersections afterwards, therefore this algorithm keeps left and right as
    |     ++

Check warning on line 15 in src/query/boolean_query/boolean_query.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/query/boolean_query/boolean_query.rs:15:5
   |
15 | /// with the `Must` or `Should` occurrence.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
15 | ///   with the `Must` or `Should` occurrence.
   |     ++

Check warning on line 13 in src/query/boolean_query/boolean_query.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/query/boolean_query/boolean_query.rs:13:5
   |
13 | /// `MustNot` occurrence.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
13 | ///   `MustNot` occurrence.
   |     ++

Check warning on line 11 in src/query/boolean_query/boolean_query.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/query/boolean_query/boolean_query.rs:11:5
   |
11 | /// `Must` occurrence
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
11 | ///   `Must` occurrence
   |     ++

Check warning on line 21 in src/postings/block_search.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/postings/block_search.rs:21:5
   |
21 | /// end of the last block for instance.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
21 | ///   end of the last block for instance.
   |     ++

Check warning on line 537 in src/index/index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/index/index.rs:537:9
    |
537 |     /// Each thread will receive a budget of  `overall_memory_budget_in_bytes / num_threads`.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
537 |     ///   Each thread will receive a budget of  `overall_memory_budget_in_bytes / num_threads`.
    |         ++

Check warning on line 536 in src/index/index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/index/index.rs:536:9
    |
536 |     /// allocated for all indexing thread.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
536 |     ///   allocated for all indexing thread.
    |         ++

Check warning on line 533 in src/index/index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> src/index/index.rs:533:9
    |
533 |     /// should work at the same time.
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
    |
533 |     ///   should work at the same time.
    |         ++

Check warning on line 55 in src/index/index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/index/index.rs:55:5
   |
55 | /// and flushed.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
55 | ///   and flushed.
   |     ++

Check warning on line 53 in src/index/index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/index/index.rs:53:5
   |
53 | /// and the `meta.json` remains untouched,
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
53 | ///    and the `meta.json` remains untouched,
   |     +++

Check warning on line 31 in src/fastfield/facet_reader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/fastfield/facet_reader.rs:31:9
   |
31 |     /// an ordinal and vice versa.
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
31 |     ///   an ordinal and vice versa.
   |         ++

Check warning on line 29 in src/fastfield/facet_reader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> src/fastfield/facet_reader.rs:29:9
   |
29 |     /// access the list of facet ords for a given document.
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
29 |     ///   access the list of facet ords for a given document.
   |         ++