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

FieldType.DefaultAnalyzer issues incorrect final offset (and has broken buffer read)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • main (10.0)
    • None
    • None

    Description

      FieldType.DefaultAnalyzer (used as a default in many field types) has a broken implementation that doesn't finalize the offset attribute. It also uses an incorrect assumption that reader.read(buffer, offset, length) is always reading fully up until length (it is not required to).

      Attachments

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              dweiss Dawid Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h