Lucene - Core
  1. Lucene - Core
  2. LUCENE-1234

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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
        Andi Vajda added a comment -

        patch against lucene-2.3.1 sources

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

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development