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

Long terms should generate a RuntimeException, not just infoStream

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          Hoss Man
        2. LUCENE-5472.patch
          12 kB
          Michael McCandless
        3. LUCENE-5472.patch
          18 kB
          Varun Thacker
        4. LUCENE-5472.patch
          19 kB
          Hoss Man

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: