Improve warning message when search index is too big
This commit is contained in:
parent
a0eb8c0a0e
commit
418d677584
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ pub fn create_files(
|
|||
let index = write_to_json(index, search_config, doc_urls)?;
|
||||
debug!("Writing search index ✓");
|
||||
if index.len() > 10_000_000 {
|
||||
warn!("searchindex.json is very large ({} bytes)", index.len());
|
||||
warn!("search index is very large ({} bytes)", index.len());
|
||||
}
|
||||
|
||||
if search_config.copy_js {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue