|
Terrier IR Platform 1.1.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.structures.Query
public class Query
This class implements a data structure representing a query. In this class, a query is represented by a DocumentTree containing the query terms and the associated query number.
| Constructor Summary | |
|---|---|
Query(TermTreeNode[] query,
java.lang.String queryNo)
Deprecated. Creates a new instance of Query |
|
Query(TermTree query,
java.lang.String queryNo)
Deprecated. Creates a new instance of Query |
|
| Method Summary | |
|---|---|
int |
getQueryLength()
Deprecated. Returns the query length, ie the number of non-stopwords in the query |
java.lang.String |
getQueryNumber()
Deprecated. Returns the query number |
TermTreeNode[] |
getQueryTerms()
Deprecated. Returns a representation of the query as a TermTreeNode array |
java.lang.String[] |
getQueryTermStrings()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Query(TermTreeNode[] query,
java.lang.String queryNo)
public Query(TermTree query,
java.lang.String queryNo)
| Method Detail |
|---|
public int getQueryLength()
public java.lang.String getQueryNumber()
public java.lang.String[] getQueryTermStrings()
public TermTreeNode[] getQueryTerms()
|
Terrier IR Platform 1.1.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||