| org.compass.core.CompassHits
close | void close() throws CompassException(Code) | | Closes the hits object. Note that it is an optional operation since it
will be closed transperantly when the transaction is closed.
It is provided for more controlled resource management
throws: CompassException - |
detach | CompassDetachedHits detach() throws CompassException(Code) | | Detaches a seperate CompassHits , holds all the data. The
detached hits preloads all the data, so it can be used outside of a
transaction. NOTE: Be carefull when using the method, since it will take
LONG time to load a large hits result set.
A detached hits. throws: CompassException - |
detach | CompassDetachedHits detach(int from, int size) throws CompassException, IllegalArgumentException(Code) | | Detaches a seperate CompassHits , which starts from the
given from parameter, and has the specified size. The detached hits
preloads all the data, so it can be used outside of a transaction.
Parameters: from - The index that the sub hits starts from. Parameters: size - The size of the sub hits. A detached sub hits. throws: CompassException - |
|
|