Package lumis.search

Class SearchResults


  • @Deprecated
    @StableMinor(version="16.0",
                 sinceVersion="4.0")
    public abstract class SearchResults
    extends java.lang.Object
    Deprecated.
    Since 8.1.0, lumis.search was replaced by lumis.portal.bigdata.
    Represents a collection of hits returned by a query execution.
    Since:
    4.0.4
    Version:
    $Revision: 25809 $ $Date: 2023-07-04 15:23:22 -0300 (Tue, 04 Jul 2023) $
    • Constructor Detail

      • SearchResults

        public SearchResults()
        Deprecated.
    • Method Detail

      • getHitCount

        public abstract int getHitCount()
        Deprecated.
        Returns the number of hits in the collection.
        Returns:
        the number of hits in the collection.
        Since:
        4.0.4
      • getHit

        public abstract SearchHit getHit​(int hitIndex)
                                  throws java.lang.IndexOutOfBoundsException,
                                         PortalException
        Deprecated.
        Returns a hit of the collection.
        Parameters:
        hitIndex - index of the hit to be returned
        Returns:
        the hit referent to the given index
        Throws:
        java.lang.IndexOutOfBoundsException - if the given index is greater than the hit count
        PortalException
        Since:
        4.0.4