Skip to content

Commit

Permalink
rm postings limit for dmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jtong11 committed Oct 9, 2020
1 parent 21001ae commit 8e5d29d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/codec/postings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ use error::Result;
use std::sync::Arc;

// sometimes will cause miss increasing with phrase/highlight.
pub const DEFAULT_SEGMENT_DOC_FREQ: i32 = 500_000;
// pub const DEFAULT_SEGMENT_DOC_FREQ: i32 = 500_000;
// for dmp
pub const DEFAULT_SEGMENT_DOC_FREQ: i32 = 1_000_000_000;
pub const DEFAULT_DOC_TERM_FREQ: i32 = 10;

/// Encodes/decodes terms, postings, and proximity data.
Expand Down

0 comments on commit 8e5d29d

Please sign in to comment.