org.terrier.querying
Class RelevantOnlyFeedbackDocuments

java.lang.Object
  extended by org.terrier.querying.FeedbackSelector
      extended by org.terrier.querying.RelevantOnlyFeedbackDocuments

public class RelevantOnlyFeedbackDocuments
extends FeedbackSelector

Select only feedback documents which have relevance &tg; 0

Since:
3.0
Author:
Craig Macdonald

Field Summary
protected static org.apache.log4j.Logger logger
           
protected  FeedbackSelector parent
           
 
Fields inherited from class org.terrier.querying.FeedbackSelector
index
 
Constructor Summary
RelevantOnlyFeedbackDocuments(FeedbackSelector _parent)
          Constructs an instance of RelevantOnlyFeedbackDocuments.
 
Method Summary
 FeedbackDocument[] getFeedbackDocuments(Request request)
          Obtain feedback documents for the specified query request
 void setIndex(Index index)
          Set the index to be used
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger

parent

protected final FeedbackSelector parent
Constructor Detail

RelevantOnlyFeedbackDocuments

public RelevantOnlyFeedbackDocuments(FeedbackSelector _parent)
Constructs an instance of RelevantOnlyFeedbackDocuments.

Parameters:
_parent -
Method Detail

setIndex

public void setIndex(Index index)
Set the index to be used

Overrides:
setIndex in class FeedbackSelector

getFeedbackDocuments

public FeedbackDocument[] getFeedbackDocuments(Request request)
Obtain feedback documents for the specified query request

Specified by:
getFeedbackDocuments in class FeedbackSelector


Terrier 3.5. Copyright © 2004-2011 University of Glasgow