Class

com.github.takezoe.solr.scala.async

AsyncSolrClient

Related Doc: package async

Permalink

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. All

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(doc: Any): Future[Unit]

    Permalink

    Add the document.

    Add the document.

    doc

    the document to register

    Definition Classes
    IAsyncSolrClient
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def commit(): Future[Unit]

    Permalink

    Commit the current session.

    Commit the current session.

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

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def execute(req: UpdateRequest, promise: Promise[Unit]): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. implicit val parser: ExpressionParser

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  21. def query(query: String): AsyncQueryBuilder

    Permalink

    Search documents using the given query.

    Search documents using the given query.

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

    Permalink

    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]

    Permalink

    Rolled back the current session.

    Rolled back the current session.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  24. def shutdown(): Unit

    Permalink

    Shutdown AsyncHttpClient.

    Shutdown AsyncHttpClient. Call this method before stopping your application.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withTransaction[T](operations: ⇒ Future[T]): Future[T]

    Permalink

    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