Retrieve the words before the intersect loops

This commit is contained in:
Kerollmops
2020-06-10 22:05:01 +02:00
parent 6ca3579cc0
commit 4e86ecf807
3 changed files with 25 additions and 18 deletions

View File

@ -6,6 +6,10 @@ use heed::EnvOpenOptions;
use structopt::StructOpt;
use mega_mini_indexer::{Index, BEU32};
#[cfg(target_os = "linux")]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
#[derive(Debug, StructOpt)]
#[structopt(name = "mm-search", about = "The server side of the MMI project.")]
struct Opt {

View File

@ -10,6 +10,10 @@ use warp::{Filter, http::Response};
use mega_mini_indexer::{BEU32, Index};
#[cfg(target_os = "linux")]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
#[derive(Debug, StructOpt)]
#[structopt(name = "mmi", about = "The server side of the mmi project.")]
struct Opt {