Jason Gerlowski created SOLR-17195:
--------------------------------------
Summary: Minimum prefix-length soft limit
Key: SOLR-17195
URL: https://issues.apache.org/jira/browse/SOLR-17195
Project: Solr
Issue Type: Sub-task
Security Level: Public (Default Security Level. Issues are Public)
Components: query
Reporter: Jason Gerlowski
Solr performs a prefix query by rewriting it as a (potentially) large boolean
or terms query, with a clause for each term in the "term dictionary" that
matches the prefix. The shorter the prefix, the more expensive this can be and
the more likely it is to cause performance problems for users.
We should add a configurable soft-limit, of the type described in SOLR-17191,
to prevent users from unknowingly providing very-short-prefixes.
(This may require coordination and buy-in from the Lucene project, depending on
implementation details.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]