Packages

abstract class SearchEngine[F[_]] extends AnyRef

The basic definition of a search engine. All engines must implement this class.

F

A higher kinded type which is usually an applicative or monad in the concrete application.

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

Instance Constructors

  1. new SearchEngine()

Abstract Value Members

  1. abstract def capabilities: NonEmptyList[SearchEngineCapabilities]

    Returns the capabilities that the search engine supports and that are implemented.

    Returns the capabilities that the search engine supports and that are implemented.

    returns

    A non empty list with supported / implemented capabilities.

  2. abstract def modes: NonEmptyList[SearchMode]

    Returns all supported and implemented search modes of the engine.

    Returns all supported and implemented search modes of the engine.

    This list will never be empty because at least one mode is supported.

    returns

    A non empty list of supported search modes.

  3. abstract def name: SearchEngineName

    Returns the unique search engine name.

    Returns the unique search engine name.

    returns

    The name of the search engine which is unique across the application.

  4. abstract def parser: SearchEngineParser[F]

    Returns the implementation of the parser for the search engine.

    Returns the implementation of the parser for the search engine.

    returns

    The search engine's custom parser.

    See also

    SearchEngineParser

  5. abstract def search(query: SearchQuery)(implicit backend: SttpBackend[F, Fs2Streams[F] with WebSockets]): Stream[F, SearchResult]

    Perform the actual search and return the parsed results.

    Perform the actual search and return the parsed results.

    query

    The search query to be passed to the engine.

    backend

    An implicitly provided backend for HTTP operations.

    returns

    A stream of search results extracted from the search engine.

Concrete 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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. 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