|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.search.SearchResults
@StableMinor(version="6.2", sinceVersion="4.0") public abstract class SearchResults
Represents a collection of hits
returned by a query
execution
.
Constructor Summary | |
---|---|
SearchResults()
|
Method Summary | |
---|---|
abstract SearchAttributes |
getAttributes()
Returns the result's attributes . |
abstract SearchHit |
getHit(int hitIndex)
Returns a hit of the collection. |
abstract int |
getHitCount()
Returns the number of hits in the collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchResults()
Method Detail |
---|
public abstract int getHitCount()
hits
in the collection.
hits
in the collection.public abstract SearchHit getHit(int hitIndex) throws IndexOutOfBoundsException, PortalException
hit
of the collection.
hitIndex
- index of the hit
to be returned
hit
referent to the given index
IndexOutOfBoundsException
- if the given index is greater than the hit count
PortalException
public abstract SearchAttributes getAttributes()
attributes
.
Attributes contain additional information returned by the
search engine in a query
execution
.
attributes
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |