Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5472

Long terms should generate a RuntimeException, not just infoStream

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8, 6.0
    • None
    • None
    • New

    Description

      As reported on the solr-user list, when a term is greater then 2^15 bytes it is silently ignored at indexing time – a message is logged in to infoStream if enabled, but no error is thrown.

      seems like we should change this behavior (if nothing else starting in 5.0) to throw an exception.

      Attachments

        1. LUCENE-5472.patch
          7 kB
          Chris M. Hostetter
        2. LUCENE-5472.patch
          12 kB
          Michael McCandless
        3. LUCENE-5472.patch
          18 kB
          Varun Thacker
        4. LUCENE-5472.patch
          19 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: