Solr
  1. Solr
  2. SOLR-1342

CapitalizationFilterFactory uses incorrect length calculations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      CapitalizationFilterFactory in some cases uses termBuffer.length, which might be larger than the actual termBufferLength()

      this causes keep words to be evaluated incorrectly, but with the LUCENE-1762 the bug is exposed, because the default buffer size has changed.

        Issue Links

          Activity

          Hide
          Robert Muir added a comment -

          patch attached, if its not obvious that its a bug i can try to create some test case that will show the bug with the old lucene jar

          Show
          Robert Muir added a comment - patch attached, if its not obvious that its a bug i can try to create some test case that will show the bug with the old lucene jar
          Hide
          Mark Miller added a comment -

          Thanks a lot Robert!

          Show
          Mark Miller added a comment - Thanks a lot Robert!
          Hide
          Grant Ingersoll added a comment -

          Bulk close for Solr 1.4

          Show
          Grant Ingersoll added a comment - Bulk close for Solr 1.4

            People

            • Assignee:
              Mark Miller
              Reporter:
              Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development