Terrier IR Platform
2.2.1

uk.ac.gla.terrier.querying
Class ExplicitQueryExpansion

java.lang.Object
  extended by uk.ac.gla.terrier.querying.QueryExpansion
      extended by uk.ac.gla.terrier.querying.ExplicitQueryExpansion
All Implemented Interfaces:
PostProcess

public class ExplicitQueryExpansion
extends QueryExpansion

Implements automatic query expansion as PostFilter that is applied to the resultset after 1st-time matching using explicit relevance information. Controls

Properties

Version:
$Revision: 1.5 $
Author:
Ben He

Field Summary
 
Fields inherited from class uk.ac.gla.terrier.querying.QueryExpansion
NAMESPACE_QEMODEL
 
Constructor Summary
ExplicitQueryExpansion()
          The default constructor of QueryExpansion.
 
Method Summary
 void expandQuery(MatchingQueryTerms query, ResultSet resultSet)
          This method implements the functionality of expanding a query.
 
Methods inherited from class uk.ac.gla.terrier.querying.QueryExpansion
getInfo, getQueryExpansionModel, process, setQueryExpansionModel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplicitQueryExpansion

public ExplicitQueryExpansion()
The default constructor of QueryExpansion.

Method Detail

expandQuery

public void expandQuery(MatchingQueryTerms query,
                        ResultSet resultSet)
This method implements the functionality of expanding a query.

Overrides:
expandQuery in class QueryExpansion
Parameters:
query - MatchingQueryTerms the query terms of the original query.
resultSet - CollectionResultSet the set of retrieved documents from the first pass retrieval.

Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow