object MetaSearch
- Alphabetic
- By Inheritance
- MetaSearch
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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:
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])