Skip to main content

Module settings

Module settings 

Source
Expand description

addok’s config/default.py values, unchanged by the BAN configuration.

Constants§

BUCKET_MAX
BUCKET_MIN
Min/max number of documents retrieved and scored.
COMMON_THRESHOLD
Above this many documents, a token is common.
DEFAULT_LIMIT
Default limit of the HTTP API.
GEOHASH_PRECISION
IMPORTANCE_WEIGHT
Weight of a document’s own importance.
INTERSECT_LIMIT
Above this many documents, avoid intersecting.
MATCH_THRESHOLD
Minimum text score considered a match.
MAX_EDGE_NGRAMS
MAX_FILTER_VALUES
Maximum number of values of a multi-value filter.
MAX_MEANINGFUL
Search.MAX_MEANINGFUL.
MIN_EDGE_NGRAMS
MIN_SCORE
Results below this final score are dropped.
QUERY_MAX_LENGTH