Package org.terrier.matching.daat
Class FatFull
- java.lang.Object
-
- org.terrier.matching.BaseMatching
-
- org.terrier.matching.daat.Full
-
- org.terrier.matching.daat.FatFull
-
- All Implemented Interfaces:
Matching
public class FatFull extends Full
A subclass ofFullthat creates aFatResultSet. This class is a key component of the Fat framework, as described by Macdonald et al., TOIS 2013.See also: About Learning Models with Multiple Query Dependent Features. Craig Macdonald, Rodrygo L.T. Santos, Iadh Ounis and Ben He. Transactions on Information Systems. 31(3). 2013. [PDF]"
- Since:
- 4.0
- Author:
- Eric Sutherland, Craig Macdonald
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.terrier.matching.BaseMatching
BaseMatching.MatchingState
-
-
Field Summary
-
Fields inherited from class org.terrier.matching.BaseMatching
BASE_MATCHING_TAG, collectionStatistics, documentModifiers, dsmNamespace, IGNORE_LOW_IDF_TERMS, index, invertedIndex, lexicon, logger, MATCH_EMPTY_QUERY, NONMATCHING_TAG
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassignNotScore(org.terrier.matching.daat.Full.DAATFullMatchingState _state, int i, CandidateResult cc)protected voidassignScore(org.terrier.matching.daat.Full.DAATFullMatchingState state, int i, CandidateResult cc)assign the score for this posting to this candidate result.protected voidinitialisePostings(BaseMatching.MatchingState _state)protected BaseMatching.MatchingStateinitialiseState()protected CandidateResultmakeCandidateResult(org.terrier.matching.daat.Full.DAATFullMatchingState state, int currentDocId)protected CandidateResultSetmakeResultSet(org.terrier.matching.daat.Full.DAATFullMatchingState state, java.util.Queue<CandidateResult> candidateResultList)-
Methods inherited from class org.terrier.matching.daat.Full
getInfo, match, selectMinimumDocId
-
Methods inherited from class org.terrier.matching.BaseMatching
finalise, initialise, setCollectionStatistics
-
-
-
-
Constructor Detail
-
FatFull
public FatFull(Index index)
-
-
Method Detail
-
initialiseState
protected BaseMatching.MatchingState initialiseState()
- Overrides:
initialiseStatein classFull
-
initialisePostings
protected void initialisePostings(BaseMatching.MatchingState _state)
- Overrides:
initialisePostingsin classFull
-
makeCandidateResult
protected CandidateResult makeCandidateResult(org.terrier.matching.daat.Full.DAATFullMatchingState state, int currentDocId)
- Overrides:
makeCandidateResultin classFull
-
makeResultSet
protected CandidateResultSet makeResultSet(org.terrier.matching.daat.Full.DAATFullMatchingState state, java.util.Queue<CandidateResult> candidateResultList)
- Overrides:
makeResultSetin classFull
-
assignScore
protected void assignScore(org.terrier.matching.daat.Full.DAATFullMatchingState state, int i, CandidateResult cc) throws java.io.IOExceptionDescription copied from class:Fullassign the score for this posting to this candidate result.- Overrides:
assignScorein classFulli- which query term index this representscc- the candidate result object for this document- Throws:
java.io.IOException
-
assignNotScore
protected void assignNotScore(org.terrier.matching.daat.Full.DAATFullMatchingState _state, int i, CandidateResult cc) throws java.io.IOException- Overrides:
assignNotScorein classFull- Throws:
java.io.IOException
-
-