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

Eliminate the maxBooleanClauses limit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2
    • 7.0
    • search
    • None
    • 4.3-SNAPSHOT 1456767M - ncindex - 2013-03-15 13:11:50

    Description

      In the #solr IRC channel, I mentioned the maxBooleanClauses limitation to someone asking a question about queries. Mark Miller told me that maxBooleanClauses no longer applies, that the limitation was removed from Lucene sometime in the 3.x series. The config still shows up in the example even in the just-released 4.2.

      Checking through the source code, I found that the config option is parsed and the value stored in objects, but does not actually seem to be used by anything. I removed every trace of it that I could find, and all tests still pass.

      Attachments

        1. SOLR-4586.patch
          19 kB
          Shawn Heisey
        2. SOLR-4586.patch
          19 kB
          Shawn Heisey
        3. SOLR-4586.patch
          21 kB
          Shawn Heisey
        4. SOLR-4586.patch
          25 kB
          Shawn Heisey
        5. SOLR-4586.patch
          4 kB
          Yonik Seeley
        6. SOLR-4586.patch
          31 kB
          Shawn Heisey
        7. SOLR-4586_verify_maxClauses.patch
          6 kB
          Yonik Seeley

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elyograg Shawn Heisey
              Votes:
              7 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated: