Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • main (10.0), 9.7
    • query
    • None

    Description

      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.)

      Attachments

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 20m
                  4h 20m