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

Weight is not serializable for some of the queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • None
    • core/search
    • None
    • Patch Available

    Description

      In order to work with ParallelMultiSearcher, Query weights need to be serializable. The interface Weight extends java.io.Serializable, but it appears that some of the newer queries unnecessarily store global state in their weights, thus causing serialization errors.

      Attachments

        1. lucene-serialization.diff
          4 kB
          Kyle Maxwell
        2. lucene-serialization.diff
          12 kB
          Doron Cohen

        Activity

          People

            doronc Doron Cohen
            fizx Kyle Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: