ElasticSearch Essentials

ElasticSearch Essentials 3.8.9

No permission to buy ($30.00)
XF1 version

Q. With this add-on installed search fails with a TooManyClauses exception
A. You will likely need to adjust the maximum clause count in your elastic search config (ie /etc/elasticsearch/elasticsearch.yml)

In Elastic Search +5.x
Code:
indices.query.bool.max_clause_count: 4096

In Elastic Search 2.x
Code:
index.query.bool.max_clause_count: 4096

Q. How do I change all forum's auto-complete settings?
A. This requires SQL;

SQL:
UPDATE xf_forum SET ess_limit_autocomplete = 'this_and_children' where node_id in (1,2,3,.....);

UPDATE xf_forum SET ess_limit_suggest = 'this_and_children' where node_id in (1,2,3,.....);

Valid values for ess_limit_autocomplete and ess_limit_suggest are;
  • all
  • this
  • this_and_children
Top