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

Weight is not serializable for some of the queries

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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

          Activity

            People

            • Assignee:
              doronc Doron Cohen
              Reporter:
              fizx Kyle Maxwell

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment