server: improve tantivy performance by reusing IndexReader
Also improve a bunch of trace logging
This commit is contained in:
@@ -20,7 +20,7 @@ use crate::{
|
||||
};
|
||||
|
||||
pub fn is_newsreader_query(query: &Query) -> bool {
|
||||
query.is_newsreader || query.corpus == Some(Corpus::Newsreader)
|
||||
query.corpus == Some(Corpus::Newsreader)
|
||||
}
|
||||
|
||||
pub fn is_newsreader_thread(query: &str) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user