Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Currently you have to read the source code to know which ctors will or won't create tons of Term objects... and I know people just love to abuse this query in that way.

      1. LUCENE-6470.patch
        5 kB
        Robert Muir
      2. LUCENE-6470.patch
        5 kB
        Robert Muir

        Activity

        Hide
        Robert Muir added a comment -

        Here is my first stab.

        Show
        Robert Muir added a comment - Here is my first stab.
        Hide
        Adrien Grand added a comment -

        +1

        Show
        Adrien Grand added a comment - +1
        Hide
        Robert Muir added a comment -

        updated patch, we need to check the comparator() in the pre-sorted case too.

        Show
        Robert Muir added a comment - updated patch, we need to check the comparator() in the pre-sorted case too.
        Hide
        Adrien Grand added a comment -

        Good catch...

        Show
        Adrien Grand added a comment - Good catch...
        Hide
        David Smiley added a comment -

        +1

        Show
        David Smiley added a comment - +1

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development