Skip to content

Commit

Permalink
Address comments from Andrew & Rick
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed May 23, 2018
1 parent 1af0a46 commit 08670ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public abstract class ConjunctionDruidFilterBuilder implements DruidFilterBuilde
private static final Logger LOG = LoggerFactory.getLogger(ConjunctionDruidFilterBuilder.class);
private static final SystemConfig SYSTEM_CONFIG = SystemConfigProvider.getInstance();

private static final int DEFAULT_MAX_NUM_DRUID_FILTERS = 10;
private static final int DEFAULT_MAX_NUM_DRUID_FILTERS = 10000;
private static final int MAX_NUM_DRUID_FILTERS = SYSTEM_CONFIG.getIntProperty(
SYSTEM_CONFIG.getPackageVariableName("max_num_druid_filters"),
DEFAULT_MAX_NUM_DRUID_FILTERS
Expand Down
3 changes: 3 additions & 0 deletions fili-core/src/main/resources/moduleConfig.properties
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ bard__lucene_index_path = [SET ME IN APPLICATION CONFIG]
# Lucene search timeout in milliseconds
bard__lucene_search_timeout_ms = 600000

# Maximum number of druid filters in a Fili-generated Druid query
bard__max_num_druid_filters = 10000

# setting for maximum allowed results without any filters - used for /dim/values endpoint
bard__max_results_without_filters = 10000

Expand Down
3 changes: 3 additions & 0 deletions fili-core/src/test/resources/testApplicationConfig.properties
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ bard__cache_partial_data = false
# Lucene index files path
bard__lucene_index_path = ./target/tmp/

# Maximum number of druid filters in a Fili-generated Druid query
bard__max_num_druid_filters = 10000

# max results without filters
# Default number of records per-page. This applies ONLY to the dimensions endpoint, NOT to the data endpoint. The
# data endpoint does not paginate by default.
Expand Down

0 comments on commit 08670ac

Please sign in to comment.