com.yahoo.search
Interface NewsSearchResults

All Known Implementing Classes:
XmlParserNewsSearchResults

public interface NewsSearchResults

News search results.

Author:
Ryan Kennedy

Method Summary
 BigInteger getFirstResultPosition()
          The position of the first result in the overall search.
 BigInteger getTotalResultsAvailable()
          The number of query matches in the database.
 BigInteger getTotalResultsReturned()
          The number of query matches returned.
 NewsSearchResult[] listResults()
          The list (in order) of results from the search.
 

Method Detail

getTotalResultsAvailable

BigInteger getTotalResultsAvailable()
The number of query matches in the database.

Returns:
The number of query matches in the database.

getTotalResultsReturned

BigInteger getTotalResultsReturned()
The number of query matches returned. This may be lower than the number of results requested if there were fewer total results available.

Returns:
The number of query matches returned.

getFirstResultPosition

BigInteger getFirstResultPosition()
The position of the first result in the overall search.

Returns:
The position of the first result in the overall search.

listResults

NewsSearchResult[] listResults()
The list (in order) of results from the search.

Returns:
The list (in order) of results from the search.