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

BoostingTermQuery's BoostingSpanScorer class should be protected instead of package access

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Currently, BoostingTermScorer, an inner class of BoostingTermQuery is not accessible from outside the search.payloads
      making it difficult to write an extension of BoostingTermQuery. The other inner classes are protected already, as they should be.

        Activity

        Hide
        vajda Andi Vajda added a comment -

        patch against lucene-2.3.1 sources

        Show
        vajda Andi Vajda added a comment - patch against lucene-2.3.1 sources
        Hide
        vajda Andi Vajda added a comment -

        The inaccessible class is called BoostingSpanScorer.
        The method I'd to override there is the score() method.

        Show
        vajda Andi Vajda added a comment - The inaccessible class is called BoostingSpanScorer. The method I'd to override there is the score() method.

          People

          • Assignee:
            gsingers Grant Ingersoll
            Reporter:
            vajda Andi Vajda
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development