Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-422

Custom tokenizers may fail when indexing due to ReusableStringReader not implement some method of TextReader

    XMLWordPrintableJSON

Details

    Description

      Lucene.Net.Index.ReusableStringReader is inherited from TextReader, but marks some methods as Not Implemented.
      Some custom tokenizers who call these unfinished methods will meet an error.
      It is, somewhat, like a trap.

      LUCENENET-150 is a similar issue to this one.

      Attachments

        1. ReusableStringReader.cs
          4 kB
          percyboy

        Activity

          People

            Unassigned Unassigned
            percyboy percyboy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: