[RSS Feed/News] Unlimited keywords in search can cause issues with search back-ends

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
If, for whatever reason, a user copes a very long post into the search bar; XenForo will generally return an error instead of telling the user has too many search terms.

This is most noticeable with XFES, as by default it will error with;
SQL:

XFES\Elasticsearch\RequestException: Elasticsearch error: query_shard_exception, too_many_clauses: maxClauseCount is set to 1024 src/addons/XFES/Elasticsearch/Api.php:410

When XF\Search\Source\AbstractSource::parseKeywords parses the keyword...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom