Class query.Query
All Packages Class Hierarchy This Package Previous Next Index
Class query.Query
java.lang.Object
|
+----query.Query
- public class Query
- extends Object
A Query context for the STARTS server. Everything done while
pressing a STARTS query (parsing, translation, etc.) is done in the
context of a Query object.
-
answerFields
- The fields that should be returned for each document in the
query results set.
-
defaultAttributeSet
- The default attribute set for the query.
-
defaultLanguage
- The Default language for the query.
-
dropStopWords
- Whether stop words should be dropped in the query processing
-
filterExpression
- The string filter expression in the query.
-
maximumNumDocuments
- Maximum number of documents that should be returned as part of
the result set.
-
minimumDocScore
- Minimum document score of documents that should be included in
the results set.
-
originalFilter
- Abstract tree version of the submitted filter expression.
-
originalRanking
- Abstract tree version of the submitted ranking expression.
-
otherSources
- Other sources to which the query should be submitted
-
processedFilter
- Abstract tree version of the processed (source and sanity
checked) version of the filter expression.
-
processedRanking
- Abstract tree version of the processed (source and sanity
checked) version of the ranking expression.
-
queryInput
- The SOIFObject that is the input to the query.
-
queryOutput
- The SOIF that is the result object in response to the query.
-
rankingExpression
- The string ranking expression in the query.
-
rankingTerms
- Vector of Terms in the ranking expression (used to construct
term statistics for the result set.
-
results
- The ResultSet object for the query.
-
sortDescending
- Boolean array that is isomorphic to sortFields determining
whether the respective field should be sorted in ascending
or descending order.
-
sortFields
- Fields that should be used for sorting the results
-
source
- SourceDescription context for the query.
-
sourceFilter
- Abstract tree version of the filter expression submitted to the
source engine.
-
sourceRanking
- Abstract tree version of the filter expression submitted to the
source engine.
-
version
- Version of STARTS of the query.
-
Query(SOIFObject, ResourceDescription, SourceDescription)
- Construct a new query object
queryInput
public SOIFObject queryInput
- The SOIFObject that is the input to the query.
version
public String version
- Version of STARTS of the query.
filterExpression
public String filterExpression
- The string filter expression in the query.
rankingExpression
public String rankingExpression
- The string ranking expression in the query.
dropStopWords
public boolean dropStopWords
- Whether stop words should be dropped in the query processing
defaultAttributeSet
public String defaultAttributeSet
- The default attribute set for the query.
defaultLanguage
public String defaultLanguage
- The Default language for the query.
answerFields
public Field answerFields[]
- The fields that should be returned for each document in the
query results set.
sortFields
public Field sortFields[]
- Fields that should be used for sorting the results
sortDescending
public boolean sortDescending[]
- Boolean array that is isomorphic to sortFields determining
whether the respective field should be sorted in ascending
or descending order.
minimumDocScore
public float minimumDocScore
- Minimum document score of documents that should be included in
the results set.
maximumNumDocuments
public int maximumNumDocuments
- Maximum number of documents that should be returned as part of
the result set.
otherSources
public String otherSources[]
- Other sources to which the query should be submitted
source
public SourceDescription source
- SourceDescription context for the query.
queryOutput
public SOIFObject queryOutput
- The SOIF that is the result object in response to the query.
originalFilter
public ExpNode originalFilter
- Abstract tree version of the submitted filter expression.
processedFilter
public ExpNode processedFilter
- Abstract tree version of the processed (source and sanity
checked) version of the filter expression.
sourceFilter
public ExpNode sourceFilter
- Abstract tree version of the filter expression submitted to the
source engine.
originalRanking
public ExpNode originalRanking
- Abstract tree version of the submitted ranking expression.
processedRanking
public ExpNode processedRanking
- Abstract tree version of the processed (source and sanity
checked) version of the ranking expression.
sourceRanking
public ExpNode sourceRanking
- Abstract tree version of the filter expression submitted to the
source engine.
rankingTerms
public Vector rankingTerms
- Vector of Terms in the ranking expression (used to construct
term statistics for the result set.
results
public ResultSet results
- The ResultSet object for the query.
Query
public Query(SOIFObject qInput,
ResourceDescription resource,
SourceDescription source) throws SOIFException
- Construct a new query object
- Parameters:
- qInput - the SOIFObject that is the query input
- resource - Resource context for this query.
- source - Source target for this query.
All Packages Class Hierarchy This Package Previous Next Index