Packages

c

com.github.takezoe.solr.scala.async

AsyncSolrClient

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: () ⇒ AsyncHttpClient = () => new DefaultAsyncHttpClient())(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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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: Any): 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. val httpClient: AsyncHttpClient
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. implicit val parser: ExpressionParser
    Attributes
    protected
    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  22. def query(query: String): AsyncQueryBuilder

    Search documents using the given query.

    Search documents using the given query.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  23. 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
  24. def rollback(): Future[Unit]

    Rolled back the current session.

    Rolled back the current session.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  25. def shutdown(): Unit

    Shutdown AsyncHttpClient.

    Shutdown AsyncHttpClient. Call this method before stopping your application.

    Definition Classes
    AsyncSolrClientIAsyncSolrClient
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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