Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15890

Add a limit to the Admin SQL panel if one is not included in the stmt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 9.0
    • None
    • None

    Description

      Solr's basic select will return all results if a limit is not added to the SQL query. Unlimited SQL queries are not ideal from the admin SQL screen. It's safer to append a LIMIT clause to every SQL query that does not include a LIMIT, rather than surprise the user with a massive result set.

      Users can override the LIMIT by adding a LIMIT clause to their SQL statement.

      Attachments

        1. SOLR-15890.patch
          0.7 kB
          Joel Bernstein

        Activity

          People

            jbernste Joel Bernstein
            jbernste Joel Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: