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

additional safety in Tokenizer state machine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • None
    • None
    • New

    Description

         * <b>NOTE:</b> 
         * The default implementation closes the input Reader, so
         * be sure to call <code>super.close()</code> when overriding this method.
         */
        @Override
        public void close() throws IOException {
      

      We can add a simple check for this easily now in setReader. I found a few bugs, and fixed all except TrieTokenizer in solr (I am lost here... somewhere i have a patch to remove this thing).

      Attachments

        1. LUCENE-5240.patch
          8 kB
          Robert Muir
        2. LUCENE-5240.patch
          21 kB
          Robert Muir
        3. LUCENE-5240.patch
          22 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: