Fix PR comments

This commit is contained in:
many 2021-06-01 17:23:29 +02:00
parent ab2cf69e8d
commit e857ca4d7d
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
2 changed files with 19 additions and 15 deletions

View file

@ -157,6 +157,8 @@ enum Command {
prefixes: Vec<String>,
},
/// Outputs a CSV with the documents ids along with
/// the field id and the word count where it appears.
FieldIdWordCountDocids {
/// Display the whole documents ids in details.
#[structopt(long)]
@ -714,8 +716,8 @@ fn field_id_word_count_docids(
.id(&field_name)
.with_context(|| format!("unknown field name: {}", &field_name))?;
let left = (field_id, 1);
let right = (field_id, 11);
let left = (field_id, 0);
let right = (field_id, u8::max_value());
let iter = index.field_id_word_count_docids
.range(rtxn, &(left..=right))?;