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 ofFull
that 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 void
assignNotScore(org.terrier.matching.daat.Full.DAATFullMatchingState _state, int i, CandidateResult cc)
protected void
assignScore(org.terrier.matching.daat.Full.DAATFullMatchingState state, int i, CandidateResult cc)
assign the score for this posting to this candidate result.protected void
initialisePostings(BaseMatching.MatchingState _state)
protected BaseMatching.MatchingState
initialiseState()
protected CandidateResult
makeCandidateResult(org.terrier.matching.daat.Full.DAATFullMatchingState state, int currentDocId)
protected CandidateResultSet
makeResultSet(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:
initialiseState
in classFull
-
initialisePostings
protected void initialisePostings(BaseMatching.MatchingState _state)
- Overrides:
initialisePostings
in classFull
-
makeCandidateResult
protected CandidateResult makeCandidateResult(org.terrier.matching.daat.Full.DAATFullMatchingState state, int currentDocId)
- Overrides:
makeCandidateResult
in classFull
-
makeResultSet
protected CandidateResultSet makeResultSet(org.terrier.matching.daat.Full.DAATFullMatchingState state, java.util.Queue<CandidateResult> candidateResultList)
- Overrides:
makeResultSet
in classFull
-
assignScore
protected void assignScore(org.terrier.matching.daat.Full.DAATFullMatchingState state, int i, CandidateResult cc) throws java.io.IOException
Description copied from class:Full
assign the score for this posting to this candidate result.- Overrides:
assignScore
in classFull
i
- 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:
assignNotScore
in classFull
- Throws:
java.io.IOException
-
-