Packages

class AsyncSolrClient extends IAsyncSolrClient

Provides the asynchronous and non-blocking API for Solr.

Linear Supertypes
IAsyncSolrClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncSolrClient
  2. IAsyncSolrClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AsyncSolrClient(url: String, factory: () => OkHttpClient = () => new OkHttpClient())(implicit parser: ExpressionParser = new DefaultExpressionParser())

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. def add(doc: Any): Future[Unit]

    Add the document.

    Add the document.

    doc

    the document to register

    Definition Classes
    IAsyncSolrClient
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def commit(): Future[Unit]

    Commit the current session.

    Commit the current session.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  8. def deleteById(id: String): Future[Unit]

    Delete the document which has a given id.

    Delete the document which has a given id.

    id

    the identifier of the document to delete

    Definition Classes
    IAsyncSolrClient
  9. def deleteByQuery(query: String, params: Map[String, Any] = Map()): Future[Unit]

    Delete documents by the given query.

    Delete documents by the given query.

    query

    the solr query to select documents which would be deleted

    params

    the parameter map which would be given to the query

    Definition Classes
    IAsyncSolrClient
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def execute(req: UpdateRequest, promise: Promise[Unit]): Future[Unit]
    Attributes
    protected
    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. implicit val parser: ExpressionParser
    Attributes
    protected
    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  21. def query(query: String): AsyncQueryBuilder

    Search documents using the given query.

    Search documents using the given query.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  22. def register(doc: Any): Future[Unit]

    Add the document and commit them immediately.

    Add the document and commit them immediately.

    doc

    the document to register

    Definition Classes
    IAsyncSolrClient
  23. def rollback(): Future[Unit]

    Rolled back the current session.

    Rolled back the current session.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  24. def shutdown(): Unit

    Shutdown AsyncHttpClient.

    Shutdown AsyncHttpClient. Call this method before stopping your application.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. def withTransaction[T](operations: => Future[T]): Future[T]

    Execute given operation in the transaction.

    Execute given operation in the transaction.

    The transaction is committed if operation was successful. But the transaction is rolled back if an error occurred.

    Definition Classes
    IAsyncSolrClient

Inherited from IAsyncSolrClient

Inherited from AnyRef

Inherited from Any

Ungrouped