Issue Details (XML | Word | Printable)

Key: LUCENE-1234
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Grant Ingersoll
Reporter: Andi Vajda
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

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

Created: 15/Mar/08 12:07 AM   Updated: 15/Mar/08 01:47 AM
Return to search
Component/s: Search
Affects Version/s: 2.3.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works patches-lucene-2.3.1 2008-03-15 12:09 AM Andi Vajda 0.9 kB

Lucene Fields: Patch Available, New
Resolution Date: 15/Mar/08 01:47 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andi Vajda added a comment - 15/Mar/08 12:09 AM
patch against lucene-2.3.1 sources

Andi Vajda made changes - 15/Mar/08 12:09 AM
Field Original Value New Value
Attachment patches-lucene-2.3.1 [ 12377954 ]
Andi Vajda added a comment - 15/Mar/08 12:20 AM
The inaccessible class is called BoostingSpanScorer.
The method I'd to override there is the score() method.

Grant Ingersoll made changes - 15/Mar/08 01:43 AM
Assignee Grant Ingersoll [ gsingers ]
Grant Ingersoll made changes - 15/Mar/08 01:47 AM
Lucene Fields [Patch Available, New] [New, Patch Available]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Repository Revision Date User Message
ASF #637331 Sat Mar 15 01:48:04 UTC 2008 gsingers LUCENE-1234: Make BoostingSpanScorer protected
Files Changed
MODIFY /lucene/java/trunk/src/java/org/apache/lucene/search/payloads/BoostingTermQuery.java
MODIFY /lucene/java/trunk/CHANGES.txt