Closed jcateswellcome closed 6 months ago
Investigate not fully analysing queries past a certain number of tokens (number tbd)
Ignore questions above for now.
I think that this will probably involve configuring a https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-limit-token-count-tokenfilter.html to be used, quite possibly only at search time https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html
Closing in favour of https://github.com/wellcomecollection/platform/issues/5739
Periodically we receive platform alerts for 5xx caused by searches for long titles. Before we decide on how we can minimise or stop this issue, it would be useful to have some more insight into current usage patterns and limitations.
More background on this can be found here, with examples of searches that trigger errors: https://wellcome.slack.com/archives/C3TQSF63C/p1713776447397219