Skip to content

Commit

Permalink
changing the values to true.
Browse files Browse the repository at this point in the history
Signed-off-by: talktovikas <[email protected]>
  • Loading branch information
talktovikas committed Dec 8, 2024
1 parent a47202c commit c3a1971
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
{timeout, <%= @solr_timeout %>},
{init_count, <%= @solr_http_init_count %>},
{max_count, <%= @solr_http_max_count %>},
{track_total_hits,false},
{track_total_hits,true},
{cull_interval, <%= @solr_http_cull_interval %>},
{max_age, <%= @solr_http_max_age %>},
{max_connection_duration, <%= @solr_http_max_connection_duration %>},
Expand Down
2 changes: 1 addition & 1 deletion src/oc_erchef/apps/chef_index/src/chef_index_query.erl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ from_params(Provider, ObjType, QueryString, Start, Rows) ->
search_provider = Provider,
start = decode({nonneg_int, "start"}, Start, 0),
rows = decode({nonneg_int, "rows"}, Rows, 1000),
track_total_hits = envy:get(chef_index, track_total_hits, false, boolean),
track_total_hits = envy:get(chef_index, track_total_hits, true, boolean),
sort = "X_CHEF_id_CHEF_X asc",
index = index_type(ObjType)}.

Expand Down
2 changes: 1 addition & 1 deletion src/oc_erchef/habitat/config/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
{search_batch_max_wait, 10},
{reindex_sleep_min_ms, 500},
{reindex_sleep_max_ms, 2000},
{track_total_hits,false},
{track_total_hits,true},
{reindex_item_retries, 3},
{solr_elasticsearch_major_version, 5},
{solr_service, [
Expand Down

0 comments on commit c3a1971

Please sign in to comment.