IAsyncSolrClient

class Object
trait Matchable
class Any

Value members

Abstract methods

def commit(): Future[Unit]
protected def execute(req: UpdateRequest, promise: Promise[Unit]): Future[Unit]
def query(query: String): AbstractAsyncQueryBuilder
def rollback(): Future[Unit]
def shutdown(): Unit

Concrete methods

def add(doc: Any): Future[Unit]

Add the document.

Add the document.

Value Params
doc

the document to register

def deleteById(id: String): Future[Unit]

Delete the document which has a given id.

Delete the document which has a given id.

Value Params
id

the identifier of the document to delete

def deleteByQuery(query: String, params: Map[String, Any]): Future[Unit]

Delete documents by the given query.

Delete documents by the given query.

Value Params
params

the parameter map which would be given to the query

query

the solr query to select documents which would be deleted

def register(doc: Any): Future[Unit]

Add the document and commit them immediately.

Add the document and commit them immediately.

Value Params
doc

the document to register

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.

Implicits

Implicits

implicit protected def parser: ExpressionParser