Uploaded image for project: 'Maven Indexer'
  1. Maven Indexer
  2. MINDEXER-115

Remove deprecated usages of BooleanQuery constructor - use Builder instead

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1.0, 6.1.1
    • None

    Description

      Remove deprecated usages of Lucene BooleanQuery constructor and methods to simplify future Lucene upgrade. Deprecated methods have been deleted in a newer version of Lucene.

      Also, correct PrefixQuery.setBoost usage -> migrate to BoostQuery and fix tests results (boost parameter was ignored in PrefixQuery) and replace FilteredQuery with PrefixQuery see: FilteredQuery Javadoc

      Selected changes with enhancements from Sopot Cela PR to upgrade to Lucene 6.1/7

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            slachiewicz Sylwester Lachiewicz
            slachiewicz Sylwester Lachiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 20m
                20m

                Slack

                  Issue deployment