Packages

o

com.wegtam.search

MetaSearch

object MetaSearch

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetaSearch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def execute[F[_]](backend: SttpBackend[F, Fs2Streams[F] with WebSockets])(maxParallel: PosInt)(es: List[SearchEngine[F]])(q: SearchQuery)(implicit arg0: Concurrent[F]): Stream[F, SearchResult]

    Execute a metasearch using the given list of search engines.

    Execute a metasearch using the given list of search engines.

    backend

    A provided backend for HTTP operations.

    maxParallel

    The maximum number of inner threads to use for the search engines.

    es

    A list of search engines which shall be queried.

    q

    The search query.

    returns

    A stream of search results extracted from all given search engines.

  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def sort[F[_]](rs: Stream[F, SearchResult])(implicit arg0: Sync[F]): F[IndexedSeq[SearchResult]]

    Sort the given stream of search results according to our specifications:

    Sort the given stream of search results according to our specifications:

    1. Results which are returned by more search engines are ranked higher. 2. Results which equal in the number of engines are ranked by their weight.

    For this operation the stream will be materialised (.compile.toList) and analysed to find and merge equal results from different search engines.

    rs

    A stream of search results which will be materialised to sort it!

    returns

    A sorted sequence of search results.

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped