| org.apache.slide.search.LuceneSearchQueryResult
LuceneSearchQueryResult | public class LuceneSearchQueryResult extends SearchQueryResult (Code) | | Aggregates a set containing the result items of a query. This set is either
a HashSet (if no ordering was requested) or a TreeSet (if orderby was
specified) May also contain a status and a response description
(For example: 507 partial result)
version: $Revision: 1749 $ |
Method Summary | |
public void | add(SearchQueryResult subResultSet) | public Iterator | iterator() | public void | merge(SearchQueryResult subResult) |
LuceneSearchQueryResult | public LuceneSearchQueryResult()(Code) | | Constructs an empty unorderred SearchQueryResult
|
LuceneSearchQueryResult | public LuceneSearchQueryResult(Set result)(Code) | | Constructs an unordered SearchQueryResult
Parameters: result - the set containing the result items |
LuceneSearchQueryResult | public LuceneSearchQueryResult(Comparator comparator)(Code) | | Constructs an empty orderred LuceneSearchQueryResult
|
LuceneSearchQueryResult | public LuceneSearchQueryResult(Set result, Comparator comparator)(Code) | | Constructs an empty orderred LuceneSearchQueryResult
|
LuceneSearchQueryResult | public LuceneSearchQueryResult(Set result, Comparator comparator, int limit)(Code) | | Constructs a LuceneSearchQueryResult
Parameters: result - the set containing the result items already sorted Parameters: comparator - for ordering (for merging, only) |
add | public void add(SearchQueryResult subResultSet)(Code) | | Method add
Parameters: subResultSet - a SearchQueryResult |
iterator | public Iterator iterator()(Code) | | Method iterator
iterator for iterating the result, RequestedResource |
merge | public void merge(SearchQueryResult subResult)(Code) | | Merge method
Merges two SearchQueryResults, which are ordered
|
|
|