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

Eliminate the maxBooleanClauses limit

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2
    • Fix Version/s: 7.0
    • Component/s: search
    • Labels:
      None
    • Environment:

      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_verify_maxClauses.patch
          6 kB
          Yonik Seeley
        2. SOLR-4586.patch
          31 kB
          Shawn Heisey
        3. SOLR-4586.patch
          4 kB
          Yonik Seeley
        4. SOLR-4586.patch
          25 kB
          Shawn Heisey
        5. SOLR-4586.patch
          21 kB
          Shawn Heisey
        6. SOLR-4586.patch
          19 kB
          Shawn Heisey
        7. SOLR-4586.patch
          19 kB
          Shawn Heisey

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                elyograg Shawn Heisey
              • Votes:
                8 Vote for this issue
                Watchers:
                29 Start watching this issue

                Dates

                • Created:
                  Updated: